A* Pathfinding Project

Error build ) unity standard build, play not found path


#1

I playing mode unity editor, many spawn characters find right path.
but I build unity standard playing, spawn character not find right path.

my unity version 2017.3.0p4.
my astarpathfinding version 4.1.19


#2

Hi

A common cause of this is when you try to generate a graph from meshes that are marked as static in Unity. Unity does not allow my script to access the mesh data during runtime in such cases, so it cannot generate a graph.

You will likely see the error message “Some meshes could not be statically batched […]” in the player log.
See this page for more info on how to resolve that: https://arongranberg.com/astar/docs/errormessages.html#static-batching