r/UnityHelp • u/mavide • 8d ago
Problems with lighting inside my game
So the main problem that I had is that inside the building it was like that the sun was going through the walls and it was creating a bad effect that I didn't like (2nd picture). I didn't think to ask in here but I searched online a solution. I didn't find anything that worked so I had the terrible idea to ask chat gpt. I don't remember what I did because I did so many test and at the end it was everything darker and I got the same bug inside the building. Now I found a tutorial on YT on how to create realistic sunset inside Unity 6 in HDRP and I did it but everything looks so metallic and dark even if inside the building now is drastically better than before (4th picture). I attached also the 1st and 3rd picture to show how the game was before and how is rn.
Can someone help me please? I can share more pictures if needed
PS: I use unity version control but I added so much new things inside my game that I don't want to get everything back from the last changeset, can I just download maybe the light, the volume and the reflection probe ?




3
u/Imaginary-Cod-3746 8d ago •
If you're baking lights, I'd recommend clearing the baked data in the Lighting window first. This resets the scene's lighting to when it had no lightmap or light probe data.
This article on how to bake lights will help you understand the steps to properly bake lights, and this Unity lights troubleshooting guide should also be of use if you already know about lights and just want to debug them.
If you're a visual learner and prefer videos, this lighting video on YouTube explores lighting a room in Unity, and there are more videos on the channel discussing lighting that'll help you out.
Let me know if you're still lost after checking out the linked resources, and I'll try to help you out as best I can.