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

Editor - Other

-

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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.