Search Issue Tracker
Fixed in 2021.2.X
Fixed in 2019.4.X, 2020.3.X, 2021.1.X
Votes
0
Found in
2019.4
Issue ID
1311845
Regression
Yes
[UIR] R32G32B32A32_SFloat Not Supported on OpenGL ES 3.0 and 3.1
With OpenGL ES 3.0 and 3.1, when the device supportes texture sampling from the vertex shader, we store the shader info data in a RGBAFloat texture. Some devices may not support RGBAFloat, which results in exceptions that prevent UIToolkit from working, as it has been reported here:
https://forum.unity.com/threads/scrollview-scroller-and-foldout-crash-android-build.1033615/
Repro Steps:
-Create a UIDocument with a ScrollView.
-Build for Android
-Run on an Android device that supports texture sampling from the vertex shader but does not support RGBAFloat
Expected Result: Should work perfectly
Actual Result: The ListView is not displayed, logcat reveals exceptions related to the support of RGBAFloat
This issue also affects the editor when using GLES 3.0 or 3.1 without extensions. This is a regression although this mode is not used often.
Alternate repro steps:
-Launch the editor with the options "-force-gles30 -force-clamped" or "-force-gles31 -force-clamped"
-The editor throws exceptions all over the place.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crashes in the wild on Vulkan in CreateDepthSurfaceImpl
- Position and rotation of a GameObject with Rigidbody reset when it is enabled and moved in the same Update call and the frame rate is low
- “Ignoring depth surface store action as it is memoryless” warnings thrown when Capturing new Snapshot while in Play Mode
- Certain textures are not loaded when using the "Load texture data on demand" feature
- [Android][OpenGL] The 2DLight is disproportionately bright on some Android devices when OpenGLES3 is used
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0a7
Resolution Note (fix version 2021.1):
Fixed in 2021.1.0b9
Resolution Note (fix version 2020.3):
Fixed in 2020.3.6f1
Resolution Note (fix version 2019.4):
Fixed in 2019.4.25f1