Search Issue Tracker
Fixed
Fixed in 2021.3.50f1, 2022.3.60f1, 6000.0.42f1, 6000.1.0b10, 6000.2.0a7, 7000.0.0a24
Votes
0
Found in
2021.3.45f1
2022.3.51f1
6000.0.24f1
6000.1.0a1
6000.2.0a1
Issue ID
UUM-85334
Regression
No
PlayModeStateChange.ExitingPlayMode is not logged when Play Mode is exited due to recompilation
Reproduction steps:
1. Open the attached “BugRepro” project
2. In the Preferences window General tab (Edit > Preferences… > General), set Script Changes While Playing to “Stop Playing And Recompile”
3. In the Console window, expand the Clear dropdown menu and disable “Clear on Recompile”
4. Enter Play Mode
5. Open “Assets/PlayModeUtils” script using a code editor
6. In the code editor, delete line 11
7. Save the changes to the script to cause a recompilation
8. Observe the Console window
Expected result: “1) Exit Play Mode” and “2) Enter Edit Mode” messages are logged
Actual result: Only the “2) Enter Edit Mode” message is logged
Reproducible with: 2021.3.45f1, 2022.3.51f1, 6000.0.24f1, 6000.1.0a1
Reproducible on: Windows 11
Not reproducible on: No other environments tested
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Text is unreadable when DLSS is applied to the Canvas with Render Mode set to World Space
- NullReferenceException errors appear in the Console when changing the values of Visual Effect Control Clip Events' Attributes
- Crash on TextCore::OTL_TableReader::GetOpenTypeLayoutTables when using Japanese Font as TMP Fallback
- TreeView.AddItem performance regression when opening EditorWindow
- Shadows are not visible in Player when using DX12 with Forward+ or Deferred+ rendering in URP
Add comment