At moment of lag/freeze, NavAgent passes through non curved obstacle.

When game lags, or freeze for a moment, NavAgent can pass through non curved obstacles.
Is there a way to prevent them pass through? Like pause them, when game is freezing/lagging.

bump