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

UI Toolkit

-

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.

  1. Response avatar

    Resolution Note (fix version 2021.2):

    Fixed in 2021.2.0a7

  2. Response avatar

    Resolution Note (fix version 2021.1):

    Fixed in 2021.1.0b9

  3. Response avatar

    Resolution Note (fix version 2020.3):

    Fixed in 2020.3.6f1

  4. Response avatar

    Resolution Note (fix version 2019.4):

    Fixed in 2019.4.25f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.