Search Issue Tracker
Fixed
Fixed in 2023.1.0a23
Votes
0
Found in
2019.4.39f1
2023.1.0a1
Issue ID
UUM-4355
Regression
No
Time of OnDestroy() call differs between Editor and Player
How to reproduce:
1. Open the attached "RuntimeInitializeLoadType" project
2. Enter Play mode
3. Exit Play mode
4. Build and Run the project
5. Open the Player.log file
6. Observe the differences between the Console and Player.log
Expected result: OnDestroy() gets called at the same time (either before or after the scene load) in both the Editor and Player
Actual result: OnDestroy() gets called before the scene load in the Player and after the scene load (when exiting Play mode) in the Editor
Reproducible with: 2019.4.39f1, 2020.3.35f1, 2021.3.4f1, 2022.1.4f1, 2022.2.0a16
Reproducible on: Windows 10
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
Add comment