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
- VR build is not displayed when headset is in standby upon initial launch
- Subasset references are incorrectly redirected when editing prefabs in Prefab Mode
- [macOS] KeyDownEvent.originalMousePosition returns incorrect coordinates when last focused element was a TextField in text editing mode
- Some HDRP Wizard tooltips are rendered outside the window
- Shader error is thrown when using a Compute Shader with a second kernel
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