Pathfinding taking odd unnecessary path

I’m sure somewhere there is probably a forum like this, but I’ve been looking for a bit and havent found one with a problem similar to mine, so I thought I’d make this.

The path it is computing does still reach me, however its avoiding walking into absolutely nothing and I dunno why.