Search Unity

Bug Camera moves to botton of VR rig and camera wont move when built

Discussion in 'VR' started by SpinDash2305, Nov 8, 2023.

  1. SpinDash2305

    SpinDash2305

    Joined:
    Jan 6, 2023
    Posts:
    6
    im trying to make a VR game, but when i build it and send it to my headset, it just bugs out and the camera dosent move and goes to the bottom of my VR rig. VR funtionality in a project intended for VR is broken. HELP!
    im using version 2021.3.16f1
     
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,057
    Are you running standalone? Which headset and xr plugins are used?

    What is the tracking mode you use?
     
  3. SpinDash2305

    SpinDash2305

    Joined:
    Jan 6, 2023
    Posts:
    6
    i am using a Meta Quest 2, and the project file was mafe specificly for VR
     
  4. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,057
    So how did you 'specifically make it for vr'?
     
  5. SpinDash2305

    SpinDash2305

    Joined:
    Jan 6, 2023
    Posts:
    6
    i opened unity hub, created a new VR project, and installed the XR interaction toolkit, Reconfigured it to the proper settings for Quest 2, and thats how it was "Specificly for VR." i used the XR orgin prefab, and needed 2 UI interactors so i followed a tut on YT. that may have broken my game, but im not sure
     
  6. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,057
    Start with 3d urp and follow the quest quickest guide