Issue With Walls Sometimes Turning Invisible

In the game I’m making walls have been working fine for a long time, but then I had to scale the whole scene when I realized the player was too small, making it hard for raycasts to detect him.
Now that the scene is twice as big with all object moved to look like before, everything is baked to update the environment etc. there is one difference from before: The walls sometimes turn invisible.

This seems to depend on the player’s position and where the camera is looking. The player can stand in place and look around, seeing walls disappearing and reappearing as he does. He can also walk around and see the same thing happening when not moving the camera.

I can’t offer any more details since I have no idea what causes the issue. Does anyone know what’s wrong and how to fix it?

Do you have occlusion data? Recalculate it

1 Like

Thanks! That worked. I should have thought of that, after all I did read about occlusion a while back. Well, it’s always nice when the source of a problem is really simple instead of a complex issue forcing you to reconsider half your game.