Pathfinding doesn't seem to work well (sometimes at all) with unions

I’ve noticed recently my pathfinding scripts have been very buggy specifically when it comes to pathfinding around/ within unions. The script itself works fine in every context except when it comes to trying to pathfind through a union that has PreciseConvexDecomposition. Take this wall as an example:
image

This is a union and the opening in the center is passable, but the AI can’t seem to recognize it can actually walk through it until I physically move it right up to it, after that point it realizes it can go through it even if I move it far away again. Another union I have as a wall elsewhere on the map is consistently buggy, when the AI walks into its collision box (that it would have if PreciseConvexDecomposition was off) it gets stuck “inside” until something moves it out.

Has anyone else had issues with this? Is there a way to fix it? I can provide the script itself but I don’t think it’ll help much since this seems to be an engine issue (to me at least).

EDIT: It seems like it isn’t a union specific issue, even after replacing the union walls with normal blocks the same glitch happens. It seems like it just relates to far-away objects in general?

EDIT 2: I think it may be the size of my map (about 4000x4000 studs) that’s causing the issue, there’s also a lot of jittering the AI tends to do after a few minutes in the game even after a good amount of optimization, so perhaps there isn’t an easy solution

roblox currently doesn’t support AI pathing on unions unless you use a custom crouch or sit animation that blocks your NPC