Problem with Unity NavMesh tools

Hello, I’m getting this error:

Runtime NavMesh Builder source mesh
combined mesh is skipped because it
does not allow read access

I checked all the models and it has the read permission. I also noticed, that in some cases unchecking the static checkbox helps and I’m getting a smaller amount of these errors.

I fixed it by setting every object in my scene to non-static. The problem was, that the NavMesh Builder was trying to combine static and non-static meshes.