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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment