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
- URP Realtime reflection probes do not update when RenderProbe() is being called once per second
- Addressable terrain shader variants are stripped from the Player
- [iOS] Debug.Log() appears as <private> in Console app
- UI stays in the background when it is disabled in simulator
- A wrong log file is attached when project is launched with a "-logFile" command line argument
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.