luxkun / ReGoap

Generic C# GOAP (Goal Oriented Action Planning) library with Unity3d examples
Apache License 2.0
1.03k stars 147 forks source link

Fatal error when debug set full #30

Open dimmduh opened 6 years ago

dimmduh commented 6 years ago

LogLevel - Full

ToString can only be called from the main thread. Constructors and field initializers will be executed from the loading thread when loading a scene. Don't use this function in the constructor or field initializers, instead move initialization code to the Awake or Start function. System.String:Format(String, Object, Object) ReGoap.Unity.ReGoapAction2:ToString(GoapActionStackData2) (at Assets/!Project/ReGoap/Unity/ReGoapAction.cs:138) ReGoap.Planner.ReGoapPlanner2:Plan(IReGoapAgent2, IReGoapGoal2, Queue1, Action1) (at Assets/!Project/ReGoap/Planner/ReGoapPlanner.cs:124) ReGoap.Unity.ReGoapPlannerThread2:CheckWorkers() (at Assets/!Project/ReGoap/Unity/ReGoapPlannerManager.cs:48) ReGoap.Unity.ReGoapPlannerThread`2:MainLoop() (at Assets/!Project/ReGoap/Unity/ReGoapPlannerManager.cs:33)