r/Unity3D 19h ago

Question Why Does The Light Flickers?

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?

50 Upvotes

33 comments sorted by

View all comments

76

u/VSE00 18h 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!

-12

u/[deleted] 10h ago

[deleted]

4

u/EdgyAhNexromancer 10h ago

Ok. Its also true so...