Difficulty getting OnComponentHit method to fire - C++

I believe I am doing this here:

86993-collisionerror.jpg

I do have a workaround where I raycast so that the boids avoid the obstacles so they don’t have to collide with them.