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
- Projection matrix is altered when using RasterCommandBuffer.ClearRenderTarget on DX12 and Metal
- Entities Hierarchy window allows Cyclic nesting and throws an “ArgumentException: Cyclic nesting detected” error when dragging a Prefab onto the same Prefab in the Entities Hierarchy
- EnterPlayModeOptions doesn't take effect if user manually modifies m_EnterPlayModeOptionsEnabled to 0
- VFX Graph Documentation dropdown button does nothing when clicked on the right side
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
Add comment