Search Issue Tracker
Won't Fix
Votes
1
Found in [Package]
6.0.0-pre.7
Issue ID
ARFB-420
Regression
No
Simulation environment does not appear
Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/Scenes/SampleScene.unity” Scene
3. Enter the Play Mode
4. In the Project window, create a new C# Script (Right-click > Create > C# Script)
5. Enter the Play Mode
6. Observe the Game and Scene views
Expected result: Simulated Environment Scene is present
Actual result: Simulated Environment Scene does not exist
Reproducible with: 5.1.1 (2021.3.35f1), 5.1.2 (2022.3.20f1), 6.0.0-pre.5 (2023.2.11f1), 6.0.0-pre.6 (2023.3.0b8)
Reproducible on: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested
Note:
- Reproducible in Play Mode with Windows and Android Platforms
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- The Scrollbar becomes unusable when adding Elements to the List
- "One or more data file missing for baking set NewScene Baking Set. Cannot load shared data." error in Player when a specific project is built
- Choosing new HDR Colour using RGB values breaks colour on Intensity Selectors
- Rendering/Decal Layer Mask options are different inside Prefab Mode and outside Prefab Mode when the project is upgraded to Unity 6
- Incorrect Realtime GI Light Probes baking when more than one Light Probe Group is used and "Baked Global Illumination" is enabled
Resolution Note:
Response given to the customer was as follows:
"In the case where the user sets the Unity Editor preference "Stop Playing and Recompile" for the "Script Changes While Playing" field, the Unity Editor currently swallows the "EditorApplication.PlayModeExited" event during the compilation and reload process.
As such, XR Simulation running in the Editor cannot support this option, and ensure that subsystems and environments are shutdown and restarted properly, due to the XR Plugin Management system's reliance on the "EditorApplication.PlayModeExited" event for cleanup."
It is also worth noting that the work around is to ensure that either:
1. Play mode is not stopped
2. Compilation happens while not in play mode