If you're upgrading from a previous Tilt Five Unity plugin package, please go to the Upgrading section below this one instead.
PROGRAMFILES%\TiltFive\SDK\UnityPlugin\
), import TiltFive-Plugin.unitypackage. You can do this in two ways, either (a) drag and drop the file into your Unity Project panel, or (b) from the Unity Assets menu, choose Import Package > Custom Package, then browse to and select the TiltFive-Unity-SDK.unitypackage file and click Open.If you have never added the Tilt Five Unity plugin to your project, refer to the previous section instead.
PROGRAMFILES%\TiltFive\SDK\UnityPlugin\
), then select and open TiltFive-Plugin.unitypackage
If upgrading from 1.2.2 or earlier to 1.3.X or later: please refer to Upgrading Unity Projects for additional steps and tips for upgrading your project.
Now that you have imported the plugin, it’s time to display something on the glasses. There are three required components that must be present in a Tilt Five capable scene: a Game Board, a Camera to be controlled by the headset’s positional data, and a Tilt Five Manager. These instructions will give you the simplest Tilt Five capable scene with the tracking origin at [0.0, 0.0, 0.0].
As of SDK 1.3.1, three platforms are available for content, and each has some specific capabilities and limitations.
Android Unity support first appeared in SDK 1.3.1 and is limited to Unity versions 2019 LTS and later.
The Tilt Five Android Unity plugin requires a custom Android Activity, which is specified in the Main Manifest. How you integrate this depends on if you're already overriding the Main Manifest. To check if you're already overriding your Main Manifest, look in your Project window under Assets/Plugins/Android/AndroidManifest.xml
. If the file is present, you are already overriding.
If you are not overriding your Android Main Manifest:
Assets
called Plugins
Assets\Plugins
called Android
Assets/Tilt Five/AndroidManifest/AndroidManifest.xml
to Assets/Plugins/Android/AndroidManifest.xml
If you are overriding your Android Main Manifest:
Assets/Tilt Five/AndroidManifest/AndroidManifest.xml
, search for TiltFiveCustomAndroidManifest
and follow the instructionsAssets/Tilt Five/Runtime/Player/Glasses/Display.cs
, search for TiltFiveCustomAndroidManifest
and follow the instructionsWe currently do not support Vulkan, which may be the default for your Android Project. To ensure that OpenGLES3 is the only option, follow the below instructions:
ARMv7 and ARM64 are the only currently supported Android architectures. To ensure that it's correctly configured, follow the below instructions:
Note that as of the 2020 LTS version, Unity's Mono scripting backend does not support ARM64. If you plan to use ARM64 only, you may need to switch to IL2CPP. To do so, follow the below instructions:
- Project Settings > Player > Android > Other Settings > Configuration > Scripting Backend:
- Ensure that IL2CPP is selected
Linux Unity support is experimental and as of its initial release in SDK 1.3.1 it is not fully tested.
Note: Linux binaries as of Tilt Five Drivers 1.3.1 currently require host computer CPUs with AVX2 support (Issue #945) so may not run on all Ubuntu 20.02 supported hosts.