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 follows the headset and the game render just in 1 eye

Discussion in 'VR' started by Christian_Perri, Jul 1, 2023.

  1. Christian_Perri

    Christian_Perri

    Joined:
    Aug 7, 2022
    Posts:
    31
    Hello everybody,i am ready to launch my game for VR but i have 1 last problem to solve,like you can see from the video when i move my head it is like the UI follows me and it shouldn't do like it,i have this error just in the PC build while with Android everything works fine. The game is also rendered just on right eye and not on the left. Can you help me?
     

    Attached Files:

  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,362
    Try updating unity maybe?
    The unity and openxr versions are quite old I think
     
  3. poligamesstudio

    poligamesstudio

    Joined:
    Jul 1, 2023
    Posts:
    10
    I don’t think so,the build on android works perfectly and not a lot of time ago also this one on pc worked.
    The problem is just the UI (it moves with my head and is rendered just on the left eye),I am quite sure I touched a setting but I don’t which.
     
  4. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,362
    Check the shaders then maybe? Make sure they support single pass instanced redenering.
    Definitely worth updating tho, as there have been multiple performance improvements for VR (especially on android).
     
  5. poligamesstudio

    poligamesstudio

    Joined:
    Jul 1, 2023
    Posts:
    10
    The problem is just the UI in the pc build,what should I update the XR toolkit (cause in the packet manager I don’t see that there is an updating)?
     
    Last edited: Jul 1, 2023