Search Issue Tracker
Not Reproducible
Votes
0
Found in
5.4.0b4
Issue ID
767048
Regression
Yes
Texture uploading is broken on various iOS device generations
Texture uploading is broken on various iOS device generations
1. What happened
I create a Texture2D on the fly, do some color maths and call SetPixels()/Apply() on it. Then I blit it to screen. On desktop and iPhone 5 it works fine. On iPhone 6 and iPad Mini 4 the colors are way off and don't look anywhere close to what they're supposed to look like.
A few things I tried :
- Using different texture formats (RGB24, RGBA32, ARGB32).
- Changing the graphics API (GLES2, GLES3, Metal, same result on all of them).
- Reading back the uploaded texture, the colors are correct when the texture is on the CPU.
- Doing a "capture GL frame" on Xcode, the uploaded texture in VRam is wrong.
2. How we can reproduce it using the example you attached
Open the project, open the "Demo" scene. Build and run on an iPhone 6 or iPad Mini 4 (you'll probably get the same result on any recent iOS devices). The colors won't look like what's in the editor. Build & run on an iPhone 5 : it works fine.
License type: Pro
Version: 5.4.0b4
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