Search Issue Tracker

Fix In Review for 3.5.0-pre.2

Votes

2

Found in

3.4.0

Issue ID

UUM-135026

Regression

No

[XRIT] XRIT Simulator is not initialized on second Play Mode initialization when Domain Reload is disabled

XR Interaction Toolkit

-

Steps to reproduce:
1. Open the attached user's project "TestURPTemp.zip"
2. Open "Assets/Samples/XR Hands/1.7.3/HandVisualizer/HandVisualizer.unity"
3. Make sure Domain reload is completely disabled under "Edit -> Project Settings -> Editor -> Enter Play Mode Settings"
4. Enter Play Mode
5. Exit Play Mode
6. Enter Play Mode again and observe XRIT Simulator not working and a warning being outputted

Actual result: XRIT Simulator is not initialized on second Play Mode initialization when Domain Reload is disabled
Expected results: XRIT Simulator is initialized on second Play Mode initialization when Domain Reload is disabled

Reproducible with: XRIT 3.0.10 - 3.4.0 (6000.0.68f1, 6000.3.8f1, 6000.4.0b9, 6000.5.0a7)
Could not test below XRIT 3.0.10 due to sample errors after reimporting

Environment tested: Windows 11 24H2

Notes:
-Warning present on second Initialization of Play Mode:
Registering subsystem descriptor with duplicate ID 'XRI Device Simulator Hands Provider' - overwriting previous entry.
UnityEngine.XR.Interaction.Toolkit.Inputs.Simulation.Hands.XRDeviceSimulatorHandsProvider:Register () (at ./Library/PackageCache/com.unity.xr.interaction.toolkit/Runtime/Inputs/Simulation/Hands/XRDeviceSimulatorHandsProvider.cs:285)

  1. Resolution Note (fix version 3.5.0-pre.2):

    Fixed an issue caused when the `XRDeviceSimulatorHandsProvider` attempts to register more than once with the `SubsystemDescriptorStore`. This caused a warning when using fast-enter play mode.

  2. Resolution Note:

    Fixed an issue caused when the `XRDeviceSimulatorHandsProvider` attempts to register more than once with the `SubsystemDescriptorStore`. This caused a warning when using fast-enter play mode.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.