How to use Pathfinding and Pathfinding Behaviour?

Hi,

I’m trying to use pathfinding and pathfinding obstacle. For the Black object, I have added Pathfinding behaviour and for the Red object I have added Pathfinding obstacle behaviour and below are the codes added but when I run the program the Black object is still able to pass through the Red object. What should I do so that the Black object recognised that the Red object is an obstacle?

Make sure you have virtual cell size greater than 0. Also, have you tried setting the obstacle as default impassable to make sure it’s not the event bugging out somehow?