Search Issue Tracker
Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.
Postponed
Votes
0
Found in
5.0.0p2
Issue ID
683625
Regression
No
Unity has no proper script lifecycle for calling event functions before quiting Unity editor
Quitting Unity Editor doesn't call OnDestroy(), OnDisable() event functions which is often used in editor window extension scripts.
Users have no way to make editor plugins which would allow them to execute certain actions before Unity editor quits, like auto-saving or cleaning temp files. There should be implemented a feature somehow similar to OnApplicationQuit(), but just for an Editor, or script lifecycle should be modified so that when Unity editor is closing OnDestroy/OnDisable event functions would be called.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- A new Additive Scene cannot be created when an empty Untitled Scene is not dirty
- [Scene View][Ubuntu] Prefab mode UI ghosting in HDRP
- Deleting AudioMixer asset throws MissingReferenceException and breaks the Audio Mixer window
- Crash on ScheduleGenerateTilingShape when modifying PolygonCollider2D path count and setting path vertices
- Crash when a scene is created with LocalPhysicsMode::Physics3D
Add comment