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
- Terms of Service agreement checkbox is invisible under specific OS system themes (UI Accessibility)
- Tile Palette: "Create New Tilemap" dropdown area is displayed in several colors
- Input.mousePosition stops syncing to touch input when using "DownloadHandlerTexture" in WebGL build
- UI Builder canvas doesn't update element styling accordingly when changing Active Theme for some Editor Authoring elements
- Selector Value buttons are not aligned with parameters in UI Builder
Add comment