09-16-2018 07:14 PM
How do I use the WaveVR simulator?
- After a yellow screen with "Simulator server is running.", It will not proceed anymore.
- We are testing using Unity (2018.1.2 / 2017.4.2 / 5.6.3).
- The usual Android build on Unity is OK.
- https://hub.vive.com/en-US/profile/documents <- I could not find information about the Simulator except here.
- What is the function of "Simulator"?
09-17-2018 08:13 PM
From your screenshot, it seems there is no connection between Unity and HMD.
Please make sure following things:
After all above things are ready, please try again.
09-17-2018 09:53 PM - edited 09-17-2018 09:57 PM
3. Simulator server is started. (yellow page should be shown on the HMD, and don’t go to suspend/pause) <- very important
- The yellow page will pop up, but no further progress is possible here.
09-18-2018 12:48 AM - edited 09-18-2018 12:49 AM
In order for security protection, we don't provide option to enable/disable P sensor for external developer and customers.
That's why your HMD goes into suspend very soon so the connection is broken.
Please use a sticker to block P sensor to disable auto-detect suspend/resume, so the HMD will always be ON then you can enjoy simulator function.
Let me know if it works for you or not.
09-18-2018 02:24 AM - edited 09-18-2018 02:31 AM
Does "P sensor" in the picture above mean this?
It did, but it did not work.
And if the simulator is successful, what happens to the HMD screen and Unity's edit screen?
What can developers get from the simulator?
What does the simulator do?
09-18-2018 02:48 AM
Simulator is the function to provide you to see the result (simulate) without building apk under Unity Editor if you just change some setting, parameters etc.
This means when you change something from Editor, you could see the change result on HMD.
4 weeks ago
Does this require the computer and HMD to be on the same wifi network?
string ipaddr = "";
//WaveVR_Utils.SIM_ConnectType type = WaveVR_Utils.SIM_ConnectType.SIM_ConnectType_USB; System.IntPtr ptrIPaddr = Marshal.StringToHGlobalAnsi(ipaddr);
Is the USB line commented out because it's always USB or because it's always Wifi?
I'm getting a SIM_InitError_Device_Not_Found error with my HMD plugged in, showing in ADB and ADM.
4 weeks ago
Currently we don't enable connection from wifi since the performance isn't good for feature support.
Please make sure your USB connection is established successfully first so you can use adb to connect.
3 weeks ago
@Tony PH Lin wrote:
What kind of error code you have from WVR_Init_S?
Normally it should be SIM_InitError_None.
I'm keep get the error as below, what's wrong with my SDK settings?
WVR_Init_S failed System.DllNotFoundException: WaveVR_Simulator at (wrapper managed-to-native) WaveVR_Utils:WVR_SetPrintCallback_S (WaveVR_Utils/debugcallback) at WaveVR..ctor () [0x000ae] in /Users/shanghuang/Workspace/WVR_05/Assets/WaveVR/Scripts/WaveVR.cs:134 UnityEngine.Debug:Log(Object) WaveVR:.ctor() (at Assets/WaveVR/Scripts/WaveVR.cs:149) WaveVR:get_Instance() (at Assets/WaveVR/Scripts/WaveVR.cs:33) WaveVR_Render:Awake() (at Assets/WaveVR/Scripts/WaveVR_Render.cs:410)