Skip to main content
Up and Coming
June 7, 2016

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.
    This topic has been closed for replies.

    6 replies

    Inspiring
    June 7, 2016
    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?

    GoesTo11Author
    Up and Coming
    June 7, 2016
    Thank 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.
    Inspiring
    June 7, 2016
    Ok, 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.
    Inspiring
    June 8, 2016
    It 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.
    GoesTo11Author
    Up and Coming
    June 8, 2016
    Yes, 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.
    New Participant
    February 23, 2017
    I am facing the same issue with the same problem. Does anyone got any update on this?