Search Issue Tracker
By Design
Votes
1
Found in
2017.4.0a1
2018.3.0a1
2018.3.4f1
2019.2.0a1
2019.3.0a1
Issue ID
1145260
Regression
No
[Android][OpenGLES3] Compute shader compilation fails
Steps to reproduce:
1. Open user attached project
2. Delete CompiledShaderNoEdge.shader
3. Build & Run to an Android device
4. Logcat the device
5. Observe the error in the logcat:
05-06 08:49:52.305 11605 11678 D Unity : -------- Shader compilation failed
05-06 08:49:52.305 11605 11678 D Unity : #version 310 es
05-06 08:49:52.305 11605 11678 D Unity : #extension GL_EXT_texture_buffer : require
05-06 08:49:52.305 11605 11678 D Unity : layout(binding=0, rgba32f) highp uniform image2D FacePositiveZ;
05-06 08:49:52.305 11605 11678 D Unity : layout(binding=1, rgba32f) highp uniform image2D FaceNegativeZ;
...
Expected result: Compute shader compilation should not fail on Android
Reproduced on: 2019.3.0a2, 2018.3.4f1, 2017.4.26f1 with OpenGLES3
No repro testing on Vulkan and Metal
Devices under test:
Reproduced:
VLNQA00230, Oneplus OnePlus6T (ONEPLUS A6013), Android 9, CPU: Snapdragon 845 SDM845, GPU: Adreno (TM) 630
VLNQA00231, Huawei HUAWEI Mate 20 Pro (LYA-L29), Android 9, CPU: HiSilicon Kirin 980, GPU: Mali-G76
VLNQA00096, Samsung Galaxy S8 (SM-G950F), Android 8.0.0, CPU: Exynos 9 Octa 8895, GPU: Mali-G71
VLNQA00121, Samsung Galaxy S9 (SM-G960F), Android 8.0.0, CPU: Exynos 9 Series 9810, GPU: Mali-G72
No repro:
VLNQA00111, Samsung Galaxy J5(2016) (SM-J510FN), Android 7.1.1, CPU: Snapdragon 410 MSM8916, GPU: Adreno (TM) 306 - DesaturationEffect.cs does not get initialized
iPhone 6, iOS: 10.3.3 - DesaturationEffect.cs does not get initialized
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note (2019.3.X):
https://www.khronos.org/registry/OpenGL/specs/es/3.1/GLSL_ES_Specification_3.10.pdf page 72: "Except for image variables qualified with the format qualifiers r32f, r32i, and r32ui, image variables must specify either memory qualifier readonly or the memory qualifier writeonly".
Reading and writing simultaneously to other formats is not supported on OpenGL ES.