Unity toon shader causing object flickering

Hi, I’m looking for some advice or solutions when dealing with materials that flicker when moving a camera. This is happening whenever Unity’s in “Play” mode, but doesn’t happen when in editor only mode. This also happens in builds.

See video showing flickering:

(single point light and one directional light in video)

Some details:
Unity Version: 2021.3.25f1
Package: com.unity.toonshader
https://github.com/Unity-Technologies/com.unity.toonshader

Issues:
The flickering occurs whenever there is more then one light. If there is only a directional light, things look alright, but as a soon as there is another light (point light) the flickering starts. This happens regardless of whether the point light is set to “Important,” “Not important,” or “Auto.” Happens when shadows are on or off. If anyone has come across this, any help is appreciated!

what’s your maximum per pixel lights set to in the settings?

I tested with different values. Max tested was 128 and flickering still occurs during runtime. I also tried switching to deferred rendering but that also has no effect. Forgot to mention above, but I’m using the built-in rendering pipeline.

Have you found a solution? Currently experiencing the same error

No solution, unfortunately. We ended up switching to the Poiyomi shader GitHub - poiyomi/PoiyomiToonShader: A feature rich toon shader for unity and VR Chat, which is working really well for us. My feeling is that the official toon shader package has been abandoned by Unity and won’t be updated.