Search Issue Tracker
Fixed
Fixed in 6.0.7, 6.2.1, 6.3.1, 6.4.0
Votes
0
Found in [Package]
6.0.6
6.2.0
6.3.0
6.4.0-pre.1
Issue ID
ARFB-672
Regression
No
[ARFoundation] Initialize() in Unity.XR.Simulation.SimulationSessionSubsystem is not called when entering the same Scene a second time thus initialization fails
Steps to reproduce:
1. Open the attached project "ARTemplateNew.zip"
2. Open "Assets/Scenes/SceneA.unity"
3. Enter Play Mode and press the "Go to SceneB" Button
4. Observe at the top left "AR Init Count: " and "Subsystem running: true"
5. Press the Button "Back To SceneA" and "Go to SceneB" again
6. Observe the "AR Init Count" increase to 2 and "Subsystem running: false"
Expected Results: Initialize() in Unity.XR.Simulation.SimulationSessionSubsystem is successfully initialized the second time
Actual Results: Initialize() in Unity.XR.Simulation.SimulationSessionSubsystem is not called when entering the same Scene a second time
Reproducible with: AR Foundation 6.0.6 - 6.3.0 (6000.0.60f1, 6000.2.9f1, 6000.3.0b8, 6000.4.0a4)
Could not test on AR Foundation 5.2.0 (2022.3.68f1) due to errors relating to 'ARTrackablesChangedEventArgs<>' after downgrading
Environment tested: Windows 11 24H2
Notes:
-A fix is to add m_Initialized = false; in Stop() function of "SimulationSessionSubsystem.cs"
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment