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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment