Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Bug UI disabled when oculus headset removed

Discussion in 'VR' started by bhermer, Jan 11, 2021.

  1. bhermer

    bhermer

    Joined:
    Jun 24, 2013
    Posts:
    28
    Developing a program that requires input both on screen with the mouse as well as standard vr input. This worked well previously but since upgrading to 2020.2 and using the openxr preview plugin, when an oculus headset is taken off and tracking stops, it looks like the ui stops updating correctly. For example I can open a settings menu but not close it, and all the buttons are unresponsive. Seems like a bug as input is not disabled entirely, but is useable at all. Any ideas? This does not occur with a vive.
     
  2. bhermer

    bhermer

    Joined:
    Jun 24, 2013
    Posts:
    28
    some extra info, I believe it is related to enabling/disabling ui gameobjects. I have just found that in the case of a panel with a panel as a child, if I disable the child it closes on screen correctly, but if I disable the parent the parent closes and the child remains onscreen but unresponsive.
     
  3. the_real_apoxol

    the_real_apoxol

    Unity Technologies

    Joined:
    Dec 18, 2020
    Posts:
    467
    I experimented a bit trying to reproduce this but was not able to recreate the environment. Could you provide a sample project that I can look at? Thank you