#Only 1 PointLight2D is working at a time

1 messages · Page 1 of 1 (latest)

hard elbow
#

Hello! Total newbie here 👋
I am working through the 11-hour tutorial made by Clear Code. I'm at the light-chapter and I'm running into a problem.

I created 3 scenes with a PointLight2d. All of them with the same structure. But, it seems that only 1 of them can cast shadows. In the screenshot you can see only the top one creates shadows/interacts. It works perfectly for this 1 scene. Objects, tiles, even the player interacts correctly with this light. But the other 2 lights don't cast shadows on anything. But if I delete the "working" light (or just make it invisible) then one of the other 2 lights starts working. And only if I delete THAT light, the last one works. Why? It's not because I messed up the occlusion-layers or something, because they all CAN work. It's just that only 1 can work at the same time.

hard elbow
#

Anyone knows what is going wrong here? Why does only one PointLight2D "work" correctly?
Even when I add multiple of the same Light-scene, only the first one I add works. On all the others the shadows don't work...