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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
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.