asquared31415 / ONI-mods

6 stars 6 forks source link

Priority Zero crash #4

Closed mesilliac closed 3 years ago

mesilliac commented 3 years ago

Priority Zero keeps crashing seemingly randomly. It happens when i click something, but what i click and when it happens seem completely arbitrary.

I haven't been able to reproduce it on purpose, except that it happens somewhat frequently, every 10 or 20 cycles or so.

The error message given was this the last two times it happened:

Priority Value Out Of Range: -200

UnityEngine.Debug:LogErrorFormat (string,object[])
Debug:LogErrorFormat (string,object[])
(wrapper dynamic-method) Chore:Chore..ctor_Patch0 (Chore,ChoreType,ChoreProvider,bool,System.Action`1<Chore>,System.Action`1<Chore>,System.Action`1<Chore>,PriorityScreen/PriorityClass,int,bool,bool,int,bool,ReportManager/ReportType)
Chore`1<FetchAreaChore/StatesInstance>:.ctor (ChoreType,IStateMachineTarget,ChoreProvider,bool,System.Action`1<Chore>,System.Action`1<Chore>,System.Action`1<Chore>,PriorityScreen/PriorityClass,int,bool,bool,int,bool,ReportManager/ReportType)
FetchAreaChore:.ctor (Chore/Precondition/Context)
FetchChore:PrepareChore (Chore/Precondition/Context&)
ChoreDriver:SetChore (Chore/Precondition/Context)
Brain:UpdateChores ()
Brain:UpdateBrain ()
MinionBrain:UpdateBrain ()
BrainScheduler/BrainGroup:RenderEveryTick (single,bool)
BrainScheduler:RenderEveryTick (single)
SimAndRenderScheduler/RenderEveryTickUpdater:Update (IRenderEveryTick,single)
UpdateBucketWithUpdater`1<IRenderEveryTick>:Update (single)
StateMachineUpdater/BucketGroup:AdvanceOneSubTick (single)
StateMachineUpdater:RenderEveryTick (single)
Game:LateUpdate ()

Build: U35-477316-S
asquared31415 commented 3 years ago

I believe this was fixed by v2.0.1