2D Lighting not working for me

Godot Version

Godot 4.4.1

Question

:waving_hand: Hello, I don’t understand why 2D lighting in Godot stopped working. I switched to the new version of the engine from Godot 4.3, started the project from the previous version, and lighting no longer works on it. I tried creating a new project, and even on a new project, it doesn’t work. All lighting settings in the PointLight2D and DirectionalLight2D parameters are standard, I chose different lighting textures, including the built-in gradient.

I will be glad of any help, if you need more information, please let us know.

Ok, I found why it’s not working. In my scene, root node is CanvasLayer named Game. When I create new scene with root node as Node2D and copy-paste some elements from Game scene, lighting work. But why lighting no works in CanvasLayer currently, if in Godot 4.3 that’s works for me?

Ok… :rofl: In CanvasLayer node Layer property default is 1. If I switch it to 0, lighting work.