abrenneke / RimWorld-BronzeAge

0 stars 0 forks source link

Exception ticking EggChickenUnfertilized54680 (at (87, 0, 243)): System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. #101

Open abrenneke opened 3 years ago

abrenneke commented 3 years ago
Exception ticking EggChickenUnfertilized54680 (at (87, 0, 243)): System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
  at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <567df3e0919241ba98db88bec4c6696f>:0 
  at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0 
  at Verse.ThingWithComps.Tick () [0x0002d] in <d72310b4d8f64d25aee502792b58549f>:0 
  at Verse.TickList.Tick () [0x0015c] in <d72310b4d8f64d25aee502792b58549f>:0 
Verse.Log:Error(String, Boolean)
Verse.TickList:Tick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:UpdatePlay()
Verse.Root_Play:Update()
abrenneke commented 3 years ago

Caused by AnimalsLogic.RuinedEggs.CompTemperatureRuinable_DoTicks_Patch.Postfix(ref bool, ref CompTemperatureRuinable)

Removes a comp while tick is running, ThingWithComps does not expect any comps to be removed