tl0r Posted September 17, 2019 Posted September 17, 2019 Dear VIve forum, I am having a hell of a time trying to get my Vive Focus Plus to work with WaveVR in Unity 2019.1.0f2. Could we get an updated document on how to set up WaveVR? Specifically linking to our SDK and JDK? https://hub.vive.com/storage/app/doc/en-us/UnityPluginGettingStart.html The guide says that Android SDK 7.1.1 (API Level 25) or higher is required. As well as Android SDK Tools version 25 or higher. Since I am starting off fresh and am also new to Unity and Android development, I had no Nvidia Codeworks or Android Studio. When I download Android studio, I go to the Android SDK section and I click on Android 7.1.1 (Nougat) (API Level 25), and I click on Oreo as well just because the picture shows they have it selected. Moving on to SDK tools, I choose Android SDK Tools (version 26.1.1) and from there it seems really self explanatory so far. I complete all the build settings and move on to the External Tools part to set the Android SDK and JDK paths. In the image in Vive's documentation, I do not have those paths that they show. How do I know where my SDK and JDK locations are? When I Google "NVPACK," Nvidia Codeworks comes up. Do I also need to download that so I have those directories and tools? When I make an Android Studio project, I can then go to "Project Structure" to see my SDK and JDK location, but is that just for my newly created Android Studio project, or where the SDK and JDK live to use with everything else (including Unity)? In short, where are my Android SDK and JDK locations I need to link the paths to in the External Tools section in Unity Preferences? I think this is what is causing me to not see the WaveVR simulator and have "Connection Timeouts" when trying to PIE and causing build fails. Any help would be appreciated. Thanks, Tyler @Tony PH Lin @Cotta
VIVE_chengnay Posted September 18, 2019 Posted September 18, 2019 @tl0r Please check under Edit>Preferences...>External Tools, did you check "JDK Installed with Unity" and "Android SDK Tools Installed with Unity"? If yes, then you do not have to specify the installed locations for SDK and JDK. If you would like to self-locate SDK and JDK, please uncheck the checkbox, thanks!
Fangh Posted September 18, 2019 Posted September 18, 2019 When Installing Unity 2019 you could have checked this : If yes, your SDK and JDK is located somewhere in this folder : C:\Program Files\Unity3D\2019.1.13f1\Editor\Data\PlaybackEngines\AndroidPlayer if you have only installed Android studio, your SDK is located here : C:\Users\USERNAME\AppData\Local\Android\Sdk
tl0r Posted September 18, 2019 Author Posted September 18, 2019 Thank you both! That pretty much resolves my issues (I think)! In regards to both your replies, I did check those boxes on installation. So I should be good with just checking the box in Unity to use the SDK Tools and JDK installed with Unity? One more thing: I still do not see the Simulator in the WaveVR menu. Should I be able to?
VIVE_chengnay Posted October 21, 2019 Posted October 21, 2019 @tl0r With latest WaveVR SDK (>3.1), Simulator updates to Direct Preview.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.