Search Issue Tracker

Fixed in 5.3.3



Found in


Issue ID




Sprite ordering doesn't work for specific sprite which uses custom shader



How to reproduce:
1. Open the attached project
2. Open "PalleteSprite" scene
3. Notice that even if "Lamp - order broken" has Order in Layer set to 20, it is still behind the house which Order in Layer is 2
4. "Lamp" in hierarchy uses the same shader, but sprite ordering works good for it

This is due to a .mat file (lamp.mat in this case) in which CustomRenderQueue is different from the Shader's RenderQueue

For more information and the solution please visit

Comments (1)

  1. C8fa523d48ad0f4ec16401b64a5a1c69?d=mm


    Feb 05, 2016 11:36

    This may occur when the Material RenderQueue does not match the Shader RenderQueue, therefore objects may appear in unexpected depths and/or ignore layer order.

    For more information and the solution please visit

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.