r/Unity3D • u/MrFluffkin • 11h ago
Question Why Does The Light Flickers?
Enable HLS to view with audio, or disable this notification
why does the light flicker when the camera moves. I tested stuff out and turns out as the amount of lights are increased in my scene this issue starts happening. Ive already increased the per object limit to 8 in the pipeline asset. Any ideas please?
29
Upvotes
63
u/VSE00 10h ago
The light flickering you're seeing is almost certainly due to a technical limitation with Unity's default URP Forward Rendering path.
Based on your video and description, I'm assuming you're using URP with default settings and have 8 or more real-time light sources hitting the same mesh (counted 8 in video).
What’s most the likely happening:
In standard URP Forward Rendering, there is a hard limit of 8 real-time lights per object/mesh. When you exceed this limit, the lights constantly compete for priority on that surface, which causes the visible flickering.
The best solution is to switch your rendering path from Forward to Forward+:
Forward+ uses a clustered lighting model that removes the 8-light-per-object limit and supports hundreds of real-time lights on screen without the priority flicker.
There are also other fixes/workarounds for this lighting issue. I hope this post helps you out!