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
- UI Builder Project Library foldouts do not open when pressed on the foldout name
- Shader Graph Create Node window cannot be resized or moved after maximizing and reopening it
- [Usability] Cannot toggle Scene checkboxes using TAB/Enter in Build Profiles’ > Open Scene List
- Installing HDRP package throws Shader Graph validation warning about Exposure node when installed in Universal 3D Template
- ShaderGraph “Create Node” menu’s resize icon overlaps with the menu's scrollbar
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