Pathfinder script changes values when entering playmode

I set character radius and walkable height in a component. I set it to 0.3 and 0.5 accordingly. I save project and scene.

When I hit play - values are changed to 0.4 and 0.3 for no reason. I didnt modify them from code. Also, these changed values remain after exiting play mode.

Not sure if its a weird bug in Unity or AStar?

I can’t think of anything that would modify these.
Are you sure you are not loading a graph during runtime, or something else that might overwrite it?

Assets → Reimport All helped for now. I dont know maybe some conflict, hard to debug such things.

1 Like