LightOccluder2D don't work

Godot Version

v4.2.2
I’m on Mac

Question

Hi there!
I have a problem with LightOccluder2D. I can’t get them to work at all, even though the mask matches and the shadow property is enabled. However, on another computer, I managed to do it without any problem, and even exporting the project to another computer makes it work. So the problem seems to be with mine, and I don’t understand why. I uninstalled and reinstalled Godot4, but it didn’t work.
I don’t know if this has anything to do with it, but I also have a problem with BlendMode, where Substract has exactly the same effect as Add.

Do you know how I could fix this?

If it works on one computer but not the other with the exact same settings then you should open an issue at Issues · godotengine/godot · GitHub

Hi! Not an expert here by any means, but I spent 3 hours today trying to resolve a similar / the same problem. Also a Mac User, using 4.2.2

Have a look at the Project’s “Renderer” settings (Rendering>Renderer). I set mine for “Mobile” at outset, but as soon as I restored them all to default options, the lights and occluder nodes started working as expected.

No idea if your solution will match mine, but thought you might like to try it

I “resolve” my problem by creating my new project on 4.1 then import it in 4.2.2. I don’t know why but it works.
My parameter are the default parameters btw, so I don’t think it was the problem for me

Thanks to your answer !