- Home /
Why does the shadow look weird only when my project is running?
My project is basically a demo of one of Brackey's projects for beginners. This is how the shadow normally looks like.
This is how the shadow changes while running the project.
Why is this happening? Is there any way to get rid of this?
I see all objects in your scene a little moved when in runtime, is that normal? I mean, can the wall base be moving a little and the light is reflecting on it (as it should)?
Yup, it's normal. All the objects, except for the Walls and floor, are rigidbody and are positioned slightly above the floor.
Are you sure your walls are keeping on the ground? To me this looks like your wall is a bit above the ground so some light is getting uder it. It's hard to tell when you don't have textures to compare.
Well, all I can say is that the walls and the floor have colliders, but no rigidbody (however, other objects have both). As a result, the positions of the walls and the floor should not change before and after hitting the play button.
Answer by _Venus_ · Sep 19, 2018 at 02:29 PM
There might be gap in between the wall and floor, if not, this can be an issue within the editor. Most of the time it will work itself out, but if the problem resides try going into the lighting window and bake the scene.