Graphics.DrawMesh changing layer does nothing

I have a problem, I am trying to render player on top of terrain and I have to use Graphics.DrawMesh because I am working in ECS, all the terrain has argument 0 in layer, player has argument 1 and it’s still rendered under terrain. WHY?

Currently, the sorting layer does not apply on entities and Graphics.DrawMesh.
Workarounds are either using the Z position (with ZWrite On in shader), or directly setting the render queue on material inspector.
It’s unfortunate, and I sure hope they are working on it.

see: