Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Anonymous's avatar
Anonymous
7 years ago

How to use playerController in Unity Editor for Oculus Quest

Hi,
I create a sample app in Unity, including the Oculus integration asset, with XR enabled in player settings. After added a player controller to the scene (which contain only that plus a floor), and building into the oculus Quest everything works fine. 
But when I hit the unity editor play button, I get a console message "Virtual Reality SDK Oculus failed to initialize.
Will attempt to enable OpenVR instead."
The game is running in the editor but I can't simulate head movement when moving the mouse or using WASD keys, even if the player controller contain a head simulator component. 
So it means its not possible to develop and test directly in the editor, without building to the android device which take too long time. It's really annoying and we can't develop for the quest in those conditions. 
Do you have any workaround about that ?
thanks
No Replies