Search Issue Tracker
By Design
Votes
0
Found in
5.4.0b12
Issue ID
785445
Regression
No
[Emulation] Shaders with #pragma exclude_renderers gles show up in editor with Graphics Emulation GLES 2.0 on
1) Open attached project "EmulationBug"
2) Open scene "Demo"
3) Set build target to Android
4) Make sure that Graphics Emulation is set to GLES 2.0 and Teir 1 Hardware
--- You should see a grey sphere, even though its shader has #pragma exclude_renderers gles
--- On an actual GLES 2 device sphere is magenta "shader not working" color
--- Same thing is expected with graphics emulation
Note:
Project includes two shader versions, Bug5-4 and Bug5-3. Bug5-4 does not work in Unity 5.3 because it uses UnityObjectToClipPos.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Camera.current returns null when Camera.targetTexture is set to null in OnPostRender
- Crash on BaseHierarchyProperty::Next when opening a specific project
- ShaderLab pragmas are no longer allowed in regular include directives
- Shader Compilation for projects with lots of Shaders can be slow (i.e. VFX Graph asset heavy projects)
- The Editor hangs when opening a project that uses local packages and Version Control
Add comment