Search Issue Tracker
Fixed in 11.0.0
Votes
0
Found in [Package]
11.0.0
Issue ID
1293454
Regression
No
[Android] Shader stripping causing GlslGpuProgramGLES crash on OnePlus6T
There is a crash with some Universal RP scenes on OnePlus6T, that can be worked around by not stripping a specific shader variant.
The work-around harms other Android GLES build since it makes build times slightly slower and build size slightly bigger.
It would be better to ensure GLES OnePlus6T behaves similarly as other Android GLES targets.
Reproduction steps:
1. Open project/revision https://github.com/ernestasKupciunas/Winter/commit/1a2334d2e8e97ca83d5e90b0e6c02db420ac09a7
2. Edit project's Packages/manifest.json file to use Universal RP revision https://github.com/Unity-Technologies/Graphics/pull/1616/commits/5330ff922468da9f5fc1e58c9c31d39b46fdc00f or later
3. Comment out line 137 in com.unity.render-pipelines.universal/Editor/ShaderPreprocessor.cs
4. Select Graphics API GLES3 in Player settings, and build the Android App
Expected result: The app executes correctly on all Android devices
Actual result: The app executes correctly on all Android devices, except OnePlus6T, where it crashes.
Additional info:
Related internal discussion:
https://unity.slack.com/archives/C06TQ1HNE/p1604309603108100?thread_ts=1594053922.281700&cid=C06TQ1HNE
Issue reported on public Github:
https://github.com/Unity-Technologies/Graphics/pull/1616#issuecomment-709414130
GlslGpuProgramGLES crash stack log:
https://github.com/Unity-Technologies/Graphics/files/5386119/StackTraceGles3OnePlus6T.txt
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Quest] Pitch Shifter causes audio degradation on Quest 2 devices when sped up
- "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: 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
Add comment