Hello there,
I have a problem that only happens when I create a build. I instantiate a group of enemies with an AIPath and Seeker script attached. It used to work perfectly fine, even before, but now when I create a build and they get instantiated, they just wait there for a random amount of time and they start moving one after another. The number of units I instantiate doesnt matter, they just wait randomly. I checked my PlayerLogs and found this message:
Path Failed : Computation Time 16,86 ms Searched Nodes 4471
Error: Canceled by script (Seeker.CancelCurrentPathRequest)
Path Number 3738 (unique id)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:LogWarning (object)
AstarPath:LogPathResults (Pathfinding.Path) (at D:/$ Raid Creator/Raid Lead/Assets/$ Assets/$ Tools/AstarPathfindingProject/Core/AstarPath.cs:835)
AstarPath:<InitializePathProcessor>b__122_1 (Pathfinding.Path) (at D:/$ Raid Creator/Raid Lead/Assets/$ Assets/$ Tools/AstarPathfindingProject/Core/AstarPath.cs:1301)
Pathfinding.PathProcessor:CalculatePathsThreaded (Pathfinding.PathHandler) (at D:/$ Raid Creator/Raid Lead/Assets/$ Assets/$ Tools/AstarPathfindingProject/Core/Misc/PathProcessor.cs:379)
Pathfinding.PathProcessor/<>c__DisplayClass24_0:<.ctor>b__0 () (at D:/$ Raid Creator/Raid Lead/Assets/$ Assets/$ Tools/AstarPathfindingProject/Core/Misc/PathProcessor.cs:110)
System.Threading.ThreadHelper:ThreadStart_Context (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
System.Threading.ThreadHelper:ThreadStart ()
I have no idea what causes this. I’d appreciate any answer.
Cheers!