Light2D on tilemap gives weird glitch

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By LyguN

image

I’ve put occluders on each wall tile in the tilemap. The player has a light2d node and it’s what’s causing this issue. I’ve tried messing around with light masks and some settings but to no avail. Please help.

:bust_in_silhouette: Reply From: LyguN

Nevermind. I activated Ysort on the tilemap and weirdly enough it completely fixed the problem.