I have Monsters that are using pathfinding behavior. I want to destroy object when monsters can't find any path.
I know which object to destroy, but the thing is that pathfinding "failed to find path" condition runs forever, so even if monster find path it destroy the object.
Any idea for how to fix it or any other approach