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
- Crash on when D3D12RenderPass::SetupDeviceResources when opening FBX animation preview
- Serialization errors are thrown when "com.unity.render-pipelines.core" is added as a custom package and Graphics window is opened
- Character Joints unexpectedly rotate when a ragdoll is created using the Ragdoll Wizard
- Crash on GfxDeviceD3D11Base::DrawBuffersBatchMode when rendering the Scene view
- The shared EditorBuildSettings.asset file of symlinked projects is not updated when changing the order of the Scenes in Build Settings in one of the projects
Add comment