Jump to content

Unity + Vive Focus + WaveVR setup help


tl0r

Recommended Posts

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

Link to comment
Share on other sites

When Installing Unity 2019 you could have checked this

image.png.b5336751170efeca164f838ccb1d9508.png

 

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

 

Link to comment
Share on other sites

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?

01_WaveVR.png

Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...