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
- Adding a new SubLayer in Graphics Compositor renders BaseLayer darker and makes it flicker
- DOTS Materials Not Rendering in Player When Using Entity Graphics with Custom SRP
- Sprite Pivot position in Sprite Editor and Scene View do not match when the position is custom
- [HDRP] Unchecking the "Base layer" in Graphics Compositor results in Camera view rendering over the window
- Active Targets entries text is cut off when the text is longer or the window is resized to a smaller size
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