Forum Discussion
GoesTo11
10 years agoProtege
Screen space UI and World space UI problem
I have set up a screen space UI in my project which is visible on the monitor output but not in the hmd. This allows me to change game settings and monitor the game while someone else is playing. I would also like to use world space UI elements that the player can change. However, my screen space UI does not appear to be compatible with the OVR input system. Is there a way to get the two to play nicely? The player does not need mouse control, only gaze or 3D tracked controllers. Thanks.
6 Replies
Replies have been turned off for this discussion
- vrdavebOculus Staff
my screen space UI does not appear to be compatible with the OVR input system.
It sounds like you are making an OVRInputModule-driven UI that the player uses in VR and a non-interactive UI that appears on the main monitor. Is that correct? It should already work. What specific issue are you seeing?
- GoesTo11ProtegeThank you for the reply. Both UIs need to be interactive. The main monitor needs to work with the mouse and keyboard and the VR UI needs to work with the HMD and controllers. I can only get one or the other to work.
- vrdavebOculus StaffOk, got it. Sounds like we need to update OVRInputModule to allow you to simultaneously use StandaloneInputModule. We'll take a look. In the meantime, you might be able to add a script to toggle between the two.
- AndyBorrellProtegeIt sounds like you might be trying to use OVRInputModule with a screen space UI. OVRInputModule can only be used with a world space canvas. Screen space in VR doesn't really make sense because it would effectively be headlocked.
You will need to create two UIs, one screen-space for the monitor player, and one world-space for the VR player. - GoesTo11ProtegeYes, I have created two UIs, one screen-space and the other world space. I guess the screen space is automatically using OVRInputModule. How do I get the screen space UI to use the regular Unity input module and disable mouse input into OVRInputModule? Thanks.
- tgfawadHonored GuestI am facing the same issue with the same problem. Does anyone got any update on this?
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 2 years ago
- 7 months ago
- 2 months ago
- 6 months ago