Can't get WaveVR Simulator working

mender
Explorer

Can't get WaveVR Simulator working

I'm having some trouble getting the simulator to work with the Vive Focus. I've followed the instructions in the documentation, but the simulator doesn't seem to start (that is, I don't have the yellow screen inside the HMD). Both when clicking "Install Simulator Apk" and when clicking "Start Simulator" a window pops up for a fraction of a second and then immediately closes again (so I can't tell if it displays any errors).

 

The Unity console only displays

 

Uninstall Simulator apk is done : 1
Install Simulator apk is done : 1
Start Simulator is done : 1

I'm also not seeing the icon for starting the simulator anywhere inside the Focus, so I'm not sure the installation even worked.

 

The Focus is connected via USB (and adb devices finds it) and WiFi is disabled (although that shouldn't matter as of 2.1.8 as far as I understand). Any idea what might be wrong or how I could diagnose the problem?

@Tony PH Lin 

Vive Staff

Re: Can't get WaveVR Simulator working

In normal case the value should be 0, and could you double confirm you can get device via adb devices command?

Do you use anything to block the P-sensor on Headset? Otherwise the Headset status is suspended if you don't wear it.

Any further info. is helpful.

Thanks.

mender
Explorer

Re: Can't get WaveVR Simulator working

I disabled suspending in the developer options, but I also tried putting my finger on the sensor. I'll stick something on top just to be sure. And yes, I can get the device via adb devices, I can also deploy my own .apk through Unity's build-and-run without issues.

mender
Explorer

Re: Can't get WaveVR Simulator working

@Tony PH Lin Yeah, I just put some opaque tape on it and I'm still getting a "1" when trying to install or start the Simulator.

 

FWIW, I just recorded my screen while the cmd.exe windows pop up to check whether there would be any useful error message on them, but they disappear before they actually display anything.

Vive Staff

Re: Can't get WaveVR Simulator working

Hi @mender ,

 

Could you check if Assets/Plugins/WaveVR_SimulatorServer.apk is existed?

simulator.png

Thanks

mender
Explorer

Re: Can't get WaveVR Simulator working

@Tony PH Lin Thank you, it was indeed missing. I've reimported it. The menu buttons still aren't working (same behaviour as before), but I could now install the .apk manually through adb and then launch it on the Focus. 

mender
Explorer

Re: Can't get WaveVR Simulator working

@Tony PH Lin Hey, so I've got the Simulator running now, but I'm not entirely sure what it's supposed to do (since the docs only explain how to set it up, not how to use it). Is the headset's and controller's position supposed to be tracked inside the Unity editor? Because that's not happening. The camera just sits at (0,0,0), and the controller doesn't move either. Or are there some mouse/keyboard controls to move the headset and camera? Also, there's an exception I'm only getting when building and running on the Focus, not when running in the Editor via the simulator. Isn't the Simulator supposed to let me debug these issues?