[Static Mesh Actor] : Static Mesh Actor has NULL StaticMesh property

I have a static mesh assigned in the details panel but still get this error.
Also, I get this error about 20 times when building my project, even though I have only one static mesh in the game (basic platform and the player start and light’s etc.)