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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() 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