I am having a lot of trouble with lighting in Unreal Engine 5 for about a week now. The lights in my level are glitching so much that i can’t really explain so i leave a link to the video of my original problem: https://www.youtube.com/watch?v=OaWUl_I72HY&t=13s
Since it’s been more than a week to this problem i have been seraching for a solution and tried many different things i found in the internet. But any of them couldn’t save the problem completely.
First Solution Attempt To Original Problem
I have tried to enable the hardware ray tracing + ray traced shadows from rendering menu in the project settings. That semingly solved the flickering problem but turned some of my static meshes kinda immune to the light like they are completely pitch black even if i put light sources directly in front of them so i needed to find another solution.
Second Solution Attempt To Original Problem
Then i tried to change all my light sources to static from movable. That fixed the flickering completely but there was another issue. I do not know if the other issue with lighting i will describe now is related to this solution to original problem but i just wanted to share my actions if it helps.
The other problem is lights are turning off when character is not looking at them in some angles and also turning off when character gets away but still sees the light source. I will try to demonstrate my problem with the following screenshots.
Lights Turning off With Angle:
What you are seeing in these images is when the character slightly moves its head the lighted area which we can still see goes completely dark. This creates problems like when the character moves in a hallway the rooms which are quite bright looks completely dark, character sees only a spesific angle of its view lighted.
Lights Turning off With Distance:
This problem is much cleaner than the previous ones. Even the character still seeing the torch itself. The light of the torch turns off.
I tried many more things like removing particle effects from the lights, adding a PostProcessingVolume and some tweaks in it etc. I can’t mention all of the things i tried to fix these problems i have but all of them just didn’t worked or created as many problems as they solved.
I am not having any lighting errors in any other project. I also checked the drivers and stress tested my pc to see if it’s just a hardware issue but all my components are fine. These are all of the things i guess it will help but i can provide my project settings and light soruces blueprints if its needed, thanks.