Hi Chris,
I’m experiencing a strange issue with the lighting in my game; it isn’t displaying any lighting effects. I started a regular 2D project using the built-in render pipeline and then decided to add a flashlight to the player. To do this, I installed the Universal Render Pipeline (URP) and assigned it to the graphics settings. However, the game still doesn’t show any lighting. I’ve created various 2D lights, but none seem to work. Am I missing something?
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
P.S. I'm using Unity 2022.3.15f1 Linux
Either parent the flashlight to your sprite child, or make sure that Turn root object in 3D? is unchecked in the Player's Inspector. This'll stop the light from rotating around the Y-axis.
That's the only AC-related factor I can think of. AC doesn't interfere with rendering, so it shouldn't conflict with your choice of render pipeline / shaders.
Are other lights in your scene not having an effect? Check that the sprites use a Lit shader, but regular lighting in URP shouldn't be affected by AC.
This is definitely not related to AC. It seems this is a Linux-related issue because none of my projects have lighting.