Search Issue Tracker
Won't Fix
Votes
5
Found in [Package]
Issue ID
1215087
Regression
No
[Android]Compute Shader fails to compile when using it on Android with Mali GPU
Steps to reproduce:
1. Open user's attached project
2. Build it to Android
3. Run the app with the LogCat turned on
4. Notice the Compute Shader fails to compile due to "'local_size_x' qualifier value (1024) exceeds the maximum supported size (128)."
Expected results: Compute Shader is compiled
Actual results: Computed shader fails to compiled die to qualifier support size being only 128
Reproducible with: 2019.3.0f6,
LogCat doesn't show info in 2020.1.0a21
VLNQA00231, Huawei HUAWEI Mate 20 Pro (LYA-L29), Android 9, CPU: HiSilicon Kirin 980, GPU: Mali-G76
VLNQA00175, Samsung Galaxy Note9 (SM-N960F), Android 9, CPU: Exynos 9 Series 9810, GPU: Mali-G72
Note: This issue only reproduces with Mali devices since Adreno limits to 1024x1024x64, Mali to 128x128x128. I couldn't test with 2018.4 and due to errors. Sometimes LogCat will not show the "'local_size_x' qualifier value (1024) exceeds the maximum supported size (128)." line, however, the Shader still doesn't compile. Logcat information is attached below
Comments (1)
-
dimib
Jul 22, 2020 08:57
Also reproduced with Unity 2019.4.0f1 , 2019.4.2f1 , 2019.4.3f1 , 2019.4.4f1
on devices: Samsung S8 , S10 , S20 Ultra 5G
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
- "GUI Error: Invalid GUILayout" and "NullReferenceException" are thrown when adding Scenes to "Scenes in Baking Set" in Adaptive Probe Volumes
- Inspector window not updating when switching GameObjects in Play Mode while having a VR headset connected
- “UnityException: GetInvalidFilenameChars” errors are thrown, and the Overlay Save Preset button becomes unusable when entering Play Mode with a shortcut while Overlay Save Preset window is opened
- "UnityException: GetName can only be called from the main thread." erors are thrown when the Shortcuts window is opened and entering Play Mode with a shortcut
- [Android] Light2D visuals stacking over frames when using RenderGraph
Resolution Note:
Mali GPUs are not supported and might not be supported in the future as they don't support Shader Storage Buffer Object (SSBO). The addition of CPU particles might change this in the future, but that's not guaranteed.
For more information, please view this forum thread:
https://forum.unity.com/threads/effects-created-using-vfx-graph-not-showing-on-android.841465/#post-5558176