Search Issue Tracker
Fixed in 5.5.0
Votes
5
Found in
5.4.0f3
Issue ID
829161
Regression
Yes
Setting the texture from a UI RawImage with a external texture causes wrong uvRect in iOS or Android build
To reproduce:
1. Open attached project
2. Add a new script to the RawImage Object and add this line to Update():
if(gameObject.GetComponent<RawImage>()!= null) Debug.Log ("Height: " + gameObject.GetComponent<RawImage>().uvRect.height + " Width: " + gameObject.GetComponent<RawImage>().uvRect.width);
3. Build to iOS (or android)
4. Notice that even though uvRect.height and uvRect width are reported to be -1 and 1, they clearly aren't, as evidenced by the RawImage not displaying the full image.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Keywords on Material Variants aren't automatically saved when changed on original Material through Shader Graph
- Light Probes get baked when calling LightProbes.Tetrahedralize
- Shadows flicker and cause visual artifacts when modifying a GameObject's bounds using Swizzle (Y Mask) and Sine Time nodes
- [WebGL] Frame rate drops by 5-20 fps when moving cursor or touch input in the Player
- Light bleeds when using box shaped spotlight with specific Emission Range values
Add comment