Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

Bug XR Interaction Toolkit for VR breaks in 2020.1.0b1

Discussion in '2020.1 Beta' started by ROBYER1, Mar 12, 2020.

  1. ROBYER1

    ROBYER1

    Joined:
    Oct 9, 2015
    Posts:
    800
    Just upgraded a simple VR project from 2020.1.0a25 to 2020.1.0b1 and now the XR Rig object is failing to get camera rig space/height information on the Oculus Quest

    Code (CSharp):
    1. 2020/03/12 13:11:42.416 7433 7449 Error Unity   : NullReferenceException Object reference not set to an instance of an object.
    2. 2020/03/12 13:11:42.416 7433 7449 Error Unity      at UnityEngine.XR.Interaction.Toolkit.XRRig.get_cameraInRigSpacePos () [0x00000] in <00000000000000000000000000000000>:0
    3. 2020/03/12 13:11:42.416 7433 7449 Error Unity      at UnityEngine.XR.Interaction.Toolkit.XRRig.get_cameraInRigSpaceHeight () [0x00000] in <00000000000000000000000000000000>:0
    4. 2020/03/12 13:11:42.416 7433 7449 Error Unity      at UnityEngine.XR.Interaction.Toolkit.TeleportationProvider.Update () [0x00000] in <00000000000000000000000000000000>:0
     
  2. ROBYER1

    ROBYER1

    Joined:
    Oct 9, 2015
    Posts:
    800
    It seems that something during the upgrade disconnected all references to/from the XR Rig.. weird. Fixed it by hooking them back up, lucky we only have one on a prefab!
     
  3. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    1,998
    A report with a reproducible that exhibits the loss of references after the upgrade would be much appreciated.
     
    ROBYER1 likes this.
unityunity