Astar pathfinding project masks my entire play area instead of just my obstacles

I’m trying to test a third party A* library:

https://arongranberg.com/astar/

But I can’t even get basic functionality like an object chasing another one around

I’ve been learning how to use it by watching this Brackeys video

I think I followed every step but I can’t be sure since it’s not working

Here’s what my scene looks like after I hit ‘scan’ on the pathfinder


The purple rectangle in the middle is supposed to be an obstacle. I gave it a collider, a static rigid body, put it on it’s own layer and set the pathfinder’s obstacle layer mask to that layer but, as you can see, it still masks everything and I suspect that’s what’s keeping the object that’s supposed to give chase still.

Any thoughts would be greatly appreciated

1 Like

Nevermind, I forgot to check in ‘use 2d physics’ in the pathfinder. Works now. (can’t edit my OP, apparently it’s spammy or something. mods feel free to delete)

1 Like

Same! Thanks for that, I wouldn’t have figured it out otherwise

1 Like