Problem while instantiating enemy prefabs

After some time into the game,my enemies are instantiated in the air( above the NavMesh).They cannot move around but their animations work fine.they also attempt to attack if i am in range.The problem started after i loaded the scene through another main menu scene.Please help!

If they’re supposed to walk along the NavMesh, they need to position themselves on it after spawning. NavMesh.SamplePosition will help you with that.