How to reproduce:
1. Open the attached "IN-145779_URP Test.zip" project
2. Open the "test" scene
3. Enter Play mode
4. Observe the Console
Actual result: "NullReferenceException: Object reference not set to an instance of an object" errors related to the XR Interaction Simulator are spammed into the console
Expected result: No errors appear in the console
Reproducible with: 3.5.0-pre.1 (6000.3.18f1), 3.6.0-pre.1 (6000.5.2f1)
Not reproducible with: 3.4.1 (6000.3.18f1)
Reproducible on: macOS 26.5, Windows 11
Not reproducible on: No other environments tested
Notes:
- Full error message: "NullReferenceException: Object reference not set to an instance of an object
UnityEngine.XR.Interaction.Toolkit.Inputs.Simulation.XRInteractionSimulator.AimDeviceAtWorldPoint (UnityEngine.Vector3 point, UnityEngine.Transform referenceTransform, UnityEngine.XR.Interaction.Toolkit.Inputs.Simulation.XRSimulatedControllerState& controllerState) (at ./Library/PackageCache/com.unity.xr.interaction.toolkit@63ca3b7ce776/Runtime/Inputs/Simulation/XRInteractionSimulator.cs:2534)
UnityEngine.XR.Interaction.Toolkit.Inputs.Simulation.XRInteractionSimulator.ProcessAimDeviceAtWorldPoint (UnityEngine.Vector3 endPoint) (at ./Library/PackageCache/com.unity.xr.interaction.toolkit@63ca3b7ce776/Runtime/Inputs/Simulation/XRInteractionSimulator.cs:2517)
UnityEngine.XR.Interaction.Toolkit.Inputs.Simulation.XRInteractionSimulator.ProcessPointAndClick () (at ./Library/PackageCache/com.unity.xr.interaction.toolkit@63ca3b7ce776/Runtime/Inputs/Simulation/XRInteractionSimulator.cs:2479)
UnityEngine.XR.Interaction.Toolkit.Inputs.Simulation.XRInteractionSimulator.Update () (at ./Library/PackageCache/com.unity.xr.interaction.toolkit@63ca3b7ce776/Runtime/Inputs/Simulation/XRInteractionSimulator.cs:1441)"
- Disabling the “Main Camera” (at the top of the Hierarchy in the project) fixes the errors