Search Issue Tracker
Fixed in 4.6.X
Votes
0
Found in
4.6.0b12
Issue ID
618542
Regression
Yes
RawImage texture cannot be changed after a yield statement in a couroutine
To Reproduce:
1. Open 'ReplaceImage.cs' in the attached project remove the first (WWW) line in the coroutine, change the last line to .. = tex. , change the yield statement to WaitForEndOfFrame().
2. Run, observe that the texture is not changed, editing any RawImage property in inspector updates the texture.
3. This only happens if the yield statement is called before the texture is changed and also the yield takes has to take more than a single frame. If the texture is assigned in the same frame , e.g. after 'WaiForFixedUpdate()', it's updated successfully.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Search: Inspector section icon is less sharp/more pixelated than other editor icons
- Search description string is always truncated
- [VFX] When Grouped Nodes are converted to Subgraph Operator resulting Graph Node is not included in the Group
- Search window icons are less sharp/more pixelated than other editor icons
- The Inspector can be covered when scaling the horizontal separator bar
Add comment