As you can see in the photo, I have a kinematic body as a player and a wall as a static body.
They both have collision shapes. The problem is that the player is able to walk through the wall.
Note: The wall scene is smaller, the instanced scene is resized. If I change the wall to be a rigid body, the collision works but it resizes in the wrong way (the engine also tells that there may be problems with resizing rigid bodies - Godot 3.1 stable). So what's the problem? I can't use static bodies to make walls?