-
Notifications
You must be signed in to change notification settings - Fork 81
VIVE Focus Porting Guide
ChengNan Yang edited this page Jun 22, 2020
·
54 revisions
- Unity 5.6.3f1 with Android Support
- Note: WaveVR SDK requires Unity 5.6.3f1 or newer
- Android SDK (version 3859397)
- sdkmanager --sdk_root=<android_sdk_home> --package_file=<pkg_file>
- Java JDK (jdk1.8.0_171)
- Note: Java JDK 10 is not compatible
-
Download and import Vive Input Utility(GitHub, Asset Store). Note: VIVE Focus requires Unity Editor 5.6.3 and above
-
Download and import WaveVR SDK 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 149, replace enum WVR_InputId_Alias1_Bumper into WVR_InputId_Alias1_Digital_Trigger,
(1 << (int)(WVR_InputId.WVR_InputId_Alias1_Digital_Trigger));
-
Go to Edit > Preferences… > VIU Settings, click Switch Platform button of VIVE Focus
-
Import recommended WaveVR Settings
-
Check VIVE Focus in VIU Settings
-
Add ViveCameraRig and VivePointers prefabs to your scene, refer to Example 0.Tutorial
-
Unity Editor did not install Android Support
-
Setup External Tools in Unity Preferences
-
Wrong controller render model shown
- WaveSDK <2.1.0 will not show correct render model
- WaveSDK >=2.1.0 will show only Finch render model
- WaveSDK >=3.0.2 can show Chirp render model