Search Issue Tracker

Duplicate

Votes

0

Found in

2019.3.0a1

2019.3.0a3

Issue ID

1156793

Regression

Yes

EditorWindow.OnDestroy is called twice when closing a custom Editor window

IMGUI

-

How to reproduce:
1. Open user-submitted project (QuickSourceCheck)
2. In the toolbar select Window > My Window
3. Close the custom Editor window and see the Console window

Expected result: EditorWindow.OnDestroy is called once
Actual result: EditorWindow.OnDestroy is called twice

Reproducible with: 2019.3.0a1, 2019.3.0a4
Not reproducible with: 2017.4.28f1, 2018.4.1f1, 2019.1.5f1, 2019.2.0b4

  1. This is a duplicate of issue #1156118

    OnDestroy() get's called twice for custom Editor Windows

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.