Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    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:
    1,454
    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:
    1,454
    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:
    3,135
    A report with a reproducible that exhibits the loss of references after the upgrade would be much appreciated.
     
    ROBYER1 likes this.