Search Issue Tracker
Won't Fix
Unknown (hidden) 2020.3.X
Votes
0
Found in
2020.3.34f1
Issue ID
UUM-2218
Regression
Yes
[Backport] UnityWebRequest coroutine is running when CanvasUpdateRegistry.IsRebuildingGraphics and CanvasUpdateRegistry.IsRebuildingLayout
How to reproduce:
1. Open the attached project "New Unity Project.zip"
2. Open SampleScene
3. Click Assets > Build Asset Bundles
4. Click Play
5. Observe Console
Expected result: 'loaded Some Object' is printed to the Console
Actual result: 'loaded Some Object' and 'In Rebuild, Could be updating UI' is printed to the Console
Reproducible with: 2019.4.9f1, 2019.4.27f1, 2020.3.10f1, 2021.1.8f1, 2021.2.0a11
Not reproducible with: 2018.4.34f1, 2019.4.8f1, 2021.2.0a12, 2021.2.0a17
Note:
1. When a coroutine continues running after yielding for a web request, it executes in the canvas rebuild loop if there is a synchronous asset load from a bundle of an asset that has a serialized reference to a Texture. This causes canvas rebuild error messages if UI is modified immediately after yield.
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
- [Quest] Pitch Shifter causes audio degradation on Quest 2 devices when sped up
- "GUI Error: Invalid GUILayout" and "NullReferenceException" are thrown when adding Scenes to "Scenes in Baking Set" in Adaptive Probe Volumes
- Inspector window not updating when switching GameObjects in Play Mode while having a VR headset connected
- "UnityException: GetName can only be called from the main thread." erors are thrown when the Shortcuts window is opened and entering Play Mode with a shortcut
- [Android] Light2D visuals stacking over frames when using RenderGraph
Resolution Note:
Parent case also closed, look like its' a different issue that web request.