Search Unity

Question Unity scene is behind me on Quest 2 even though camera is positioned correctly in game play mode

Discussion in 'VR' started by MoldeTeacher, Mar 22, 2023.

  1. MoldeTeacher

    MoldeTeacher

    Joined:
    Mar 12, 2023
    Posts:
    2
    When I build my scene on the Oculus Quest 2, I am facing 180 from the scene even though the main camera is pointed at the scene and shows up correctly when I run the scene in Play mode on my PC.

    I've tried restarting it and resetting the Guardian (to stationary) but still, every time I Build and Run the Unity app, I am facing away from the scene when it starts up. I've tried facing the opposite direction physically and then starting the app, in case the Oculus is setto the wrong direction, but then the scene is rotated so I am still 180 degrees off.

    The camera simply seems to swing 180 upon start up of the application on the Oculus but not in game mode on the PC. Has anyone else seen this? Thanks for any help!
     
  2. MoldeTeacher

    MoldeTeacher

    Joined:
    Mar 12, 2023
    Posts:
    2
    Doofy mistake: I hadn't added an XR Origin, which then defaulted to a 180 rotation away from the camera.