XR Interaction Toolkit for VR breaks in 2020.1.0b1

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

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

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!

A report with a reproducible that exhibits the loss of references after the upgrade would be much appreciated.

1 Like