Search Issue Tracker
Fixed in 2021.2.X
Duplicate in 2020.3.X
Votes
0
Found in
2019.4
2020.3
2021.1
2021.1.4f1
2021.2
Issue ID
1333331
Regression
No
Scheduled items, asynchronous tasks, and Update() are not run when EditorWindow is opened using ShowModalUtility()
Reproduction steps:
1. Open user's project "UI Toolkit Modal.zip"
2. Click on Test/Main Window in the top toolbar
3. Click on the "Show Modal" button to open the Modal Window
4. Wait for a few seconds and press the "Close" button
Expected result: Scheduled items, asynchronous tasks, and Update() start running upon opening of the Modal Window
Actual result: Scheduled items, asynchronous tasks, and Update() don't start running open opening of the Modal window and only start running after closing the window (only async task runs)
Reproducible with: 2019.4.26f1, 2020.3.8f1, 2021.1.7f1, 2021.2.0a17
Couldn't test with: 2018.4 (Failed to downgrade to a functioning project)
Notes:
- If you comment out the 15th line "window.ShowModalUtility()" in the "ModalWindow.cs" script expected results are observed
- Issue is also observed in Mac OS
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
- [Android][BiRP] Depth processing is handled incorrectly on certain Android devices when using 2 camera's
- [APV] Cancelling Display Dialog Error is thrown after Adaptive Probe Volumes tab is open in Lighting Window
- [APV] NullReferenceException is thrown when baking Adaptive Probe Volume for a Terrain with Non-GI Contributing Tree Prototypes and multiple APV objects with different LayerMasks are present on the scene
- Hands are not recognized when using Hololens 2
- "OnTriggerExit2D" is called before "OnTriggerEnter2D" when object is destroyed immediately
Resolution Note (fix version 2021.2):
Fixed in 2022.1.0a10