-
Notifications
You must be signed in to change notification settings - Fork 82
VIVE Focus Porting Guide
ChengNan Yang edited this page Apr 24, 2018
·
54 revisions
- Unity 5.6.3f1 with Android Support
- Android SDK (version 3859397)
- sdkmanager --sdk_root=<android_sdk_home> --package_file=<pkg_file>
- Java JDK (jdk1.8.0_171)
-
Download and import Vive Input Utility(v.1.8.2) from Asset Store Note: VIVE Focus requires Unity Editor 5.6.3 and above
-
Import WaveVR SDK(version 2.0.32) Unity plugin
- Go to Assets > Import Package > Custom Package… and select wavevr.unitypackage
- 3 extra folders(ControllerModel/Plugins/WaveVR) will appear in project folder
- Fix compile error due to WVR API updated in latest release
In WaveVRModule.cs line 133, add
(uint)
as below,if (Interop.WVR_GetInputDeviceState(deviceType, INPUT_TYPE, ref buttons, ref touches, m_analogStates, (uint)m_analogStates.Length))
-
Go to Edit > Preferences… > VIU Settings, click Switch Platform button of VIVE Focus
-
Import recommended WaveVR Settings
-
Unity Editor did not install Android Support
-
Setup External Tools in Unity Preferences
- Download WaveVR SDK