Search Issue Tracker
Fixed
Votes
0
Found in
4.5.4f1
Issue ID
646039
Regression
No
OnDestroy order for Transform hierarchy inconsistent between editor and runtime
To reproduce:
1) Open attached project (there is one scene, called Untitled) and build standalone player (version tested: OSX)
2) Enter playmode, exit playmode. In editor console log you see:
[3] +OnDisable, null: False
[2] +OnDisable, null: False
[1] +OnDisable, null: False
[0] +OnDisable, null: False
[0] -OnDestroy, null: False
[1] -OnDestroy, null: False
[2] -OnDestroy, null: False
[3] -OnDestroy, null: False
3) Run standalone app. Press "Close App". In Player log you see
[3] +OnDisable, null: False
[3] -OnDestroy, null: False
[2] +OnDisable, null: False
[1] +OnDisable, null: False
[1] -OnDestroy, null: False
[2] -OnDestroy, null: False
[0] +OnDisable, null: False
[0] -OnDestroy, null: False
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Placeholder asset is not loaded with Advertisement Legacy sample when using the latest version of the package
- Addressables content build fails but the Player build is successful when building a development build
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
Add comment