Search Issue Tracker
Won't Fix
Votes
0
Found in
5.6.3p3
Issue ID
958039
Regression
No
Undocumented nuance when yielding to a CustomYieldInstruction
The process for yielding is different on the first iteration of a CustomYieldInstruction...
1. it checks the yield
2. places the coroutine in a queue no matter what and waits
3. once it starts processing the coroutine, if the previous yield returned false then it continues the coroutine.
4. if, however, the previous yield returned true then it does...
5. another yield check to verify
6. if this time the new yield is false, then it continues the coroutine.
7. if, however, the new yield is true, then waits and jumps back to 5.
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
- Time.deltaTime is locked to the display's refresh rate when the built Player is moved to a Secondary Display and Windowed Mode is used
- Crash on RaiseException when importing a specific asset
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
Resolution Note:
This particular case has been investigated thoroughly and we have decided, in the interests of protecting the stability and features of Unity for users that rely upon the affected versions, to not address this fix for the time being. We understand that this will cause problems for some users, and so may address in a future version.