Multiple materials on same submesh not working after entity conversion

Hi,
Iam trying to render two passes on the same submesh. Since URP seems to not allow multipass shaders, i tried applying two materials. This works fine with my simple test case in edit mode in the scene view, but as soon as you enter playmode/after entity conversion it only renders the first material in the renderers material list.

Is there a way to make this work for entities or are there any other ways i could approach this topic?

8708673--1176489--upload_2023-1-5_22-59-59.png

2 shaders one move vertecies to the right in red coating and the other green to the left.

In Scene view in edit mode both materials get rendered:

After entering into playmode/conversion to entity only the first material in the list is rendered:

Any help would be appreciated!

Regards!

Mesh renderer conversion very specifically matches up submeshes to one material. You would need two meshes or one mesh with two submeshes to do something like this with the current state of things.

Hi,
thank you for the reply!
Would you by chance know if there is a way to use a multipass shader with URP?

Regards