Search Issue Tracker

Fixed in 2017.3.0f3

Won't Fix in 5.5.X, 5.6.X, 2017.1.X

Fixed in 2017.2.X

Votes

0

Found in

5.5.1f1

Issue ID

898008

Regression

No

AsyncOperation.isDone will not return true until the Editor window is resized when out of play mode

Scripting

-

When async operations are executed in Editor mode (not playing any scenes), isDone never returns 'true', unless the Editor or any of its windows are resized.

Steps to reproduce:
1) Open the attached project.
2) In the menu bar, go to Async Repro > Test it!.
- The console logs indicate that the operation finished successfully.
3) Repeat step 2 once more.
- The console logs indicate that the operation hasn't finished yet.

A coroutine, executing the AsyncOperation hangs, because isDone is never set to 'true' for that operation. This reproduces consistently, except for the first time after Editor launch.
The operation finishes as soon as any of the Editor windows are resized.

Reproduced:
2017.1.0a6, 5.2.2f1

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.