Skip to content

karl-eyre/LiminalSdk-UnityPackage

 
 

Repository files navigation

Liminal-SDK-Unity-Package

About

This is a repository containing the Liminal SDK as a Unity Package. This package is used to bundle scripts, a Unity Scene and Assets into a .limapp file. The .limapp file is required for the Liminal Platform to run as one of our Experiences.

Unity Version

Unity 2019.1.10f1

Setting Up

The Liminal SDK provides its own copies of the Oculus VR & Gear VR SDKs. Before importing the Liminal SDK, check that these SDKs are not already included in your project:

  • OVR (Oculus)
  • GVR (Google VR)
  • Liminal

If you have any of the SDKs above:

  1. Close Unity
  2. Delete the SDK files from your project via your file browser.

Important: You must close Unity, otherwise the SDKs will auto-generate again.

Setup Git

  • If you do not have Git installed, Download Git https://git-scm.com/downloads
  • Once git has been installed, open Comand Prompt and type git, it should recognize git.
  • Confirm it by going opening command prompt (windows key > cmd ) then type git. It should give you a start with usage: git

In the case that it does not work, you will have to do the following.

  • Otherwise, locate yourpath/cmd/git.exe, copy the path to just yurpath/cmd/
  • Add the path to cmd to your Environment Variables. (Press Window, Search Environment Variables)

Important If this is your first time adding a git path to your environment variable, you must ensure all Unity instances are closed after setting up git. Alternatively, you can just restart your machine.

Importing the Liminal SDK

The Liminal SDK uses Unity Package Manager.

  1. Locate YourProjectName/Packages/manifest.json
  2. Include Liminal SDK by adding the package name and git path. At the top, add "com.liminal.sdk": "https://github.com/LiminalVR/Liminal-SDK-Unity-Package.git",
  3. Open the Unity Project and the Liminal SDK will automatically be imported.
  4. Player Settings > Scripting Runtime Version .NET 4.x Equivalent
  5. Open Windows > Unity Package Manager and import Oculus (Android)

Updating the SDK

Resolving: This process may take a bit of time as it is downloading the package from git.

From Unity Editor toolbars:

Liminal > Update Package

Troubleshooting

  • All files must have .meta

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 96.2%
  • ShaderLab 3.2%
  • GLSL 0.3%
  • Objective-C++ 0.1%
  • HLSL 0.1%
  • Objective-C 0.1%