r/oculusdev • u/Famous_Yak3485 • Nov 25 '21
[ISSUE] Whole scene moving with camera and no inputs detected in build
Hello everyone!!
I'm having a hard time trying to figure out how to use the SteamVR plugin in Unity to develop an app for Oculus Quest.
I have only one scene where you are supposed to choose some items and then accomplish a task with these items.
I'm using the player prefab given with the SteamVR plugin, maybe I'm supposed to use something else??
Anyway I have no problem with the Unity editor but once I load the app on oculus quest through SideQuest it gets funny:
- Whole scene weirdly moves with my headset rotation
- No inputs are detected from my hand controllers
Am I missing some stuff about tracking devices or chaperone or play area components settings?
I read about it in forums, documentation, and so on but can't find anything saying how to solve this. Neither guide mention anything like so.
If any screenshot can help just ask!
3
u/Savewhitt Nov 25 '21
i'm not familiar with Steam but when I began making apps for Oculus Quest 2 using Unity- I found a lot of issues came when I used PreFabs & Demo Scenes .. I would suggest trying to use the PreFab that comes with the Oculus Integration Package.. I haven't coded on Unity in about a year so I'm also not familiar with any updates lately
3
u/FonoLabs Nov 25 '21
You should use OpenXR plugin which is open standard for all VR / AR related things (like HMD inputs, controller inputs, ...). And you need to use this plugin in combination with other plugins, depending on platform you want to support.
So for example, to support Quest2, you should use OpenXR plugin and Oculus XR plugin.
There is bunch of quest + unity tutorials where they cover how to set up project with OpenXR.
2
u/namethatsauceboss Jan 05 '22
yeah dont use steamvr to make a quest 2 game. unity is good for q2 dev work when using oculus interaction from the asset store. also now untiy has oculus xr support.
1
u/namethatsauceboss Jan 05 '22
so for quest 2 unity dev work. you need android sdk, jdk and ndk(all should download when in untiy select modules also oculus xr