Jump to content

Newbie Vive XR Elite developer needs help getting Unity3d to play/stream game in editor onto headset


Recommended Posts

Hello,
I am trying to get a bare 3d sample to play or stream in the Vive XR headset while working in Unity3d editor.
I have tried a few samples from youtube and from here in the forums, mostly those using the Wave XR plugin package.
After clicking the play button in the unity3d editor,  nothing shows up in the headset.

The headset is connected to the PC via the usbc.
In the headset I have enabled developer mode.
Is there anything i have to install in the headset or configure prior to attempt to build and play a scene in the unity editor?
Most of the youtube samples are either for Oculus or the older cabled Vive headsets.
Any help appreciated!
 

Link to comment
Share on other sites

Just an update and maybe some more questions ...
I was able to do a "build and run"  that built and installed the apk in the headset when using unity 2021.3.44r1 lts.
The Unity 2022.3.49f1  failed during the build ... dialog showed something about having to upgrade some android sdk to 30., but the build failed and and said something about gradle failing. the console showed this 
 

Quote

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':launcher:processReleaseResources'.
> Failed to install the following SDK components:
      platforms;android-30 Android SDK Platform 30
  The SDK directory is not writable (C:\Program Files\Unity\Hub\Editor\2022.3.24f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK)

I saw where others reported 2022 failing as well, but others had it working. I will try to reinstall from scratch.

I guess my main original question is that in a few of unity tutorials,  pressing the play button would handle build and launching the app into the other headsets such as oculus and the original vive pro? I haven't had chance to work with other headsets, so my context of experience is quite limited.
 

Link to comment
Share on other sites

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...