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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment