Hi there,
I’m having a strange issue (I searched but was only able to find one instance of a similar issue with no resolution):
When I test using the editor, pathfinding works fine. However, when I build, the entity pathfinding just goes straight to a specific point (not even pathfinding - going through walls, etc.). I’m using HDRP if it matters. Here’s what my graph looks like:
And the entity:
There is nothing else moving the entity. I tried re-making everything from scratch (Target, Pathfinder, re-attaching a fresh AIPath
and AIDestinationSetter
, etc.
Using latest (not beta) on Unity 2022.3.5f1.