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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution 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