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
- “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
Add comment