Search Issue Tracker
Fixed in 2019.3.X
Votes
0
Found in
2019.3.0a1
2019.3.0a3
Issue ID
1156118
Regression
Yes
OnDestroy() get's called twice for custom Editor Windows
OnDestroy() get's called twice for custom Editor Windows
To reproduce:
1. Open Unity
2. Open OnDestroyRepro project
3. OnDestroy/Open Me menu item
4. Close the newly opened editor window
Expected result: Console prints "OnDestroy() was called" only once
Actual result: it's printed twice
Reproduced on: 2019.3.0a1, 2019.3.0a3
Does not reproduce on: 2017.4.20f2, 2018.4.1f1, 2019.2.0b3
Comments (1)
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
- There is no way to adjust the HDR Paper White value of the Unity Editor's interface, making it difficult/uncomfortable for some developers to work on very dark/bright scenes in HDR
- Animator window has a dropdown button that throws “MissingReferenceException” error on a new project when the previous project had a GameObject with an animation
- Animator State name overflows outside the visual box when the State has a long name
- UI Document file remains marked as Dirty after Undoing made changes
- Switching between UI Documents with different Canvas sizes marks the UXML file as dirty
Jon_Olive
Jan 29, 2020 19:11
This appears to still be happening in 2019.3.0f6