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
- Sprite Importer Checkbox Label Truncated in UI (2D Template)
- Light theme icon is missing for Volume Component in the Inspector window
- Volume Profile effects are still showing and active in Game View when the Volume Profile is reset
- Shader Graph Tab Lacks Right Margin for Long Titles
- 2DLight component only renders when ShadowCaster2D components are within range in WebGL builds
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.