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
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
- VFX property value names are cut off when properties with 'Arc' are viewed in the VFX Blackboard
Add comment