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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- WebGL sends wrong value with large numbers when SendMessage function is used
- Add Behaviour dropdown has a part in which the dropdown outline is cut out when the Add Behaviour dropdown is opened
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.