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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
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.