Search Issue Tracker
Fixed in 2022.2.X
Votes
1
Found in
2019.4
2021.2
2021.2.14f1
2022.1
2022.2
Issue ID
1417232
Regression
No
[Android] Compiled GLSL compute shader fails uint cast
Reproduction steps:
1. Open the project "ReproShaderGLESBug"
2. Connect an Android device
3. Open Terminal or Command Prompt and type in "adb logcat"
4. Build and Run on Android
5. Search for the term "SimpleUintIntRepro" in the Terminal (Cmd+F/Ctrl+F)
Expected result: The line "SimpleUintIntRepro.compute: Kernel at index (0) is invalid" is NOT printed
Actual result: The line "SimpleUintIntRepro.compute: Kernel at index (0) is invalid" is printed
Reproducible with: 2019.4.38f1, 2021.2.19f1, 2022.1.0b16, 2022.2.0a10
Could not test with: 2020.3.33f1 (App crashes on build)
Notes:
-RWStructuredBuffer<int> is cast to uint, likely causing the bug (SimpleUintIntRepro.compute lines 9-10)
-2019.4.38f1 getting "Info AdrenoGLES ERROR: 0:56: 'assign' : cannot convert from 'int' to 'uint'" in Unity Logcat
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
- 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
Resolution Note (fix version 2022.2):
Fixed in 2022.2.0a14