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

uGUI

-

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)

  1. 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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.