My player can't avoid an enemy

why my player can’t detect / avoid an enemy.?
you can check here :

Please add some more description.
Also, the video is not working.

How to update the unwalkable node when the project is run? so a player can avoid enemies

I give the collider (trigger) on the enemy

Local avoidance is much better for this. You would use pathfinding for long-term planning and local avoidance for short term planning.