NavMesh always makes player move at origin on startup

Everytime I make and bake a NavMesh for a game, then I place the NavMeshAgent on a player, the player for some odd reason always moves at the origin (0,0,0) when I run the game. I’ve tried stopping the player on Start() by SetDestination() to the player’s current position, but it still persists to go to the origin. Anyone got answers for this?

@VesmirPendel, I came across the same issue. Not sure what was the cause and what is the best workaround, but I managed to find the following solution: remove NavMeshAgent from the player in the editor, and add it during runtime (inside the Start() method).