Some of the URP Shaders are not compatible with SRP Batcher

Hey, an unfortunate, mystical issue here;

Version: Unity 2021.3.8f1 Silicon Build
Device: 2020 M1 13" MacBook Pro
URP Version: 12.1.7
URP Dependencies: Mathematics 1.2.6, Burst 1.7.4, Core RP Library 12.1.7, Shader Graph 12.1.7.

I am using 2021.3.8f1 Silicon Build on a 2020 M1 13" MacBook Pro. In one of my projects, some of the URP shaders are not compatible with SRP Batcher which is weird. Only this specific Unity project and in the other projects, URP shaders are SRP Batcher compatible as expected.

Shader files and shader code are identical just like other shader files where SRP Batcher is compatible

Shaders that are compatible with SRP Batcher:
Universal Render Pipeline/Unlit
Universal Render Pipeline/Complex Lit
Universal Render Pipeline/Baked Lit

Shaders that are not compatible with SRP Batcher:
Universal Render Pipeline/Lit
Universal Render Pipeline/Simple Lit

I tried and got no luck with the;
Reinstalling the same Unity Editor version,
Reinstalling the same Unity Editor version but for Intel chips,
Reinstalling package through Package Manager,
Deleting the Library folder and running a clean, fresh project.

I checked the import activity but got literally no luck, any ideas that might help me?


Tried the latest LTS release already?

I can’t do that as we are 20+ people simultaneously working on the same Unity project. Previously, we faced huge issues when we were working on different minor versions(one was working on 2020.3.14 while the rest of us was working on 2020.3.9, it was problematic). I didn’t try to open it up in a newer version yet, but I don’t think the problem is with the version because other Unity projects are working just fine as I mentioned initially above.

You can try yourself. If it fixes your whole project, make everyone upgrade.

That is the point, it is not that easy, unfortunately…