Hello,
I have recently upgraded to Unity 6, but I have noticed an issue where my Teleport Raycast will no longer track on the Teleportation Area laid across my scene. I will receive this error when trying to move the raycast to the area.
NullReferenceException: Object reference not set to an instance of an object UnityEngine.XR.Interaction.Toolkit.Locomotion.Teleportation.BaseTeleportationInteractable.GetReticleDirection (UnityEngine.XR.Interaction.Toolkit.Interactors.IXRInteractor interactor, UnityEngine.Vector3 hitNormal, UnityEngine.Vector3& reticleUp, System.Nullable1[UnityEngine.Vector3]& optionalReticleForward) (at ./Library/PackageCache/com.unity.xr.interaction.toolkit/Runtime/Locomotion/Teleportation/BaseTeleportationInteractable.cs:466)
UnityEngine.XR.Interaction.Toolkit.Interactors.Visuals.XRInteractorLineVisual.AssignReticle (System.Boolean useBlockedVisuals) (at ./Library/PackageCache/com.unity.xr.interaction.toolkit/Runtime/Interaction/Interactors/Visuals/XRInteractorLineVisual.cs:1226) UnityEngine.XR.Interaction.Toolkit.Interactors.Visuals.XRInteractorLineVisual.UpdateLineVisual () (at ./Library/PackageCache/com.unity.xr.interaction.toolkit/Runtime/Interaction/Interactors/Visuals/XRInteractorLineVisual.cs:881) UnityEngine.XR.Interaction.Toolkit.Interactors.Visuals.XRInteractorLineVisual.OnBeforeRenderLineVisual () (at ./Library/PackageCache/com.unity.xr.interaction.toolkit/Runtime/Interaction/Interactors/Visuals/XRInteractorLineVisual.cs:716) UnityEngine.BeforeRenderHelper.Invoke () (at <84f0d810adef4e6c8deab33e4ae93f7c>:0) UnityEngine.Application.InvokeOnBeforeRender () (at <84f0d810adef4e6c8deab33e4ae93f7c>:0) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
Please let me know if you need any more information