The grid graph is changing at runtime

Sorry for bad English!

I’m a beginner developer who just started developing games.
My game is a very simple mobile 2d game, and I’m using A* pathfinding project for 2d pathfinding.

When I finish scanning the map, the graph normally shows obstacles and movable terrain.
But when I press the play button on Unity(on runtime) the graph changes like it’s about 1.5 times bigger.

Since the obstacles grow and are out of range, the character searches for the wrong path.

I googled hard, but I couldn’t find a solution.

This is the grid graph after scanning. The orange square is the character and the red dot is the goal.

Pressing the play button enlarges the graph in this way, and the character’s search path also changes.

I don’t know if it would be helpful to attach my inspector window, but I’ll attach it.