Search Issue Tracker

Fixed in 2020.1

Votes

5

Found in

2019.1.0a13

2019.2.0a1

2019.2.0a11

2019.3.0a1

Issue ID

1153582

Regression

No

EditorWindow.ShowModalUtility() doesn't prevent interactions with the Editor as stated in the documentation

IMGUI

-

How to reproduce:
1. Open user-submitted project (ModalNotModal)
2. Select ModalWindow/Show from the toolbar

Expected result: the utility window does not allow interaction with the editor while running, as stated in the docs
Actual result: the utility window does allow interaction with the editor while running

Reproducible with: 2019.1.0a13, 2019.1.3f1, 2019.2.0b2, 2019.3.0a3
Could not test with: 2017.4.27f1, 2018.4.0f1, 2019.1.0a12(Modal Utility window not introduced)

  1. Response avatar

    Resolution Note (fix version 2020.1):

    Fixed in: 2020.1.0a19, in 2020.2.0a7

Comments (6)

  1. 6698c1952dafa323e43b5a1e51a4bd03?d=mm

    crautou

    Jun 08, 2020 13:42

    Is there any plan to fix this ? It's a shame not to have this working properly, modal windows are crucial when creating custom tools/workflow.

  2. 78f9861e6e7e07256dbf48c3c0923ab3?d=mm

    mattnewport

    Feb 05, 2020 00:37

    What's the point of this function (and the associated misleading documentation) if it doesn't work as described? It would be very useful to have such a function but at least fix the documentation so people don't waste their time like I just did working on an approach assuming this function works as advertised only to discover that it doesn't work at all.

  3. C0cb757d58ed48191cb490c36b695838?d=mm

    HarryCodder

    Sep 18, 2019 08:10

    If this will never be fixed (which is dumb because this would be super useful), just remove the method because as far as I can tell, the method actually does nothing more than ShowUtility.

  4. 564e827c552e89902c61db35dd61b005?d=mm

    MichaelAtBaobab

    Aug 27, 2019 00:45

    How is this low priority? As far as I can tell, there's no other way to create a custom modal dialog in the editor. This is a core requirement for many tools and workflows, and with any normal window management should be trivial to implement. The effort to reward ratio here seems very high.

  5. Bd236ddb418d5b65aaa18efa0eaf1215?d=mm

    YoloJero

    Jul 22, 2019 08:45

    Unity 2019.1.10

  6. Bd236ddb418d5b65aaa18efa0eaf1215?d=mm

    YoloJero

    Jul 22, 2019 08:44

    The same thing seems to also happen for 2019.1 ... using

    CreateInstance<SomeEditorWindow>().ShowModalUtility();

    user can still fully interact with editor

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.