Unity URP strange spotlight artifacts on Android build

181 Views Asked by At

I've run into an issue where the spotlight for my scene has started to display some banding-like visual artifacts:

Artifact shown:

Artifact shown

Another example of artifacting:

Another example of artifacting

This issue displayed is on Unity 2022.3.5f1 and URP 14.

This effect only occurs when building to android and when the outer spot angle of the spotlight is low, and the detail of the spotlight seems to increase with the angle of the spotlight:

Larger spotlight angle artifact:

Larger spotlight angle artifact

But for my use, I require a small angle spotlight, so I was wondering if anyone else has run into this problem before and knows of a fix or workaround. This issue doesn't occur in URP 10 and seems to be only present in later updates, so I feel it has something to do with light cookies that have been added to spotlights in later versions.

I've tried messing around with all the quality, player, and graphics project settings. I've looked at banding fixes like using the 32-bit display buffer, I've looked at the lighting settings, and I've tried editing the spotlight variables in debug mode. Sadly, none of these changes managed to fix the issue.

This is what I want the spotlight to look like at the lower angle (image from windows build):

What the spotlight should look like

0

There are 0 best solutions below