Search Issue Tracker
Won't Fix
Votes
0
Found in
Issue ID
1077423
Regression
No
Instantiating canvas from AssetBundle getting a white rectangle behind an image for one frame
To reproduce:
1. Open attached project "SpriteAtlasBugNew.zip (937.8 KB)"
2. Open "SampleScene.unity" scene
3. Enter Play mode and press UGUI load button (if no image is shown exit Play mode and press Tools > BuildAB then enter Play mode again)
4. Observe as there is one frame of a white rectangle when the image is shown
Expected result: image is shown without any white rectangles
Actual result: a white rectangle is shown behind the image for one frame (1830b1.mov)
Reproduced on:
2017.4.11f1 2018.1.9f2 2018.2.7f1 2018.3.0b1
Notes:
On 2018.1.9f2 when the button is pressed for the first time only a white rectangle is shown (whiterectangle.mov)
On 2017.4.11f1 getting a black rectangle behind the image (17411f1.png)
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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note (2019.1.X):
By the time the asset bundle loads the texture the frame has already been completed. It appears as if its async. Dont think there is much we can do as the canvas is up and ready, and the texture ID has been created we can't filter out that its not populated correctly.