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
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
- Crash on ModelImporter::ImportSkinnedMesh when disabling "Strip Bones" on a specific FBX model
- WebGL Development builds ignore the "Compression Format" setting when using "Gzip" compression
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.