RimWorld

RimWorld

Animals Logic
alliephante 14 Nov, 2020 @ 12:04am
Error when a fertilized egg is ruined by temperature
Exception ticking EggChickenUnfertilized254055 (at (94, 0, 77)): 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 <b02b390b894d4487a224faae4a3db641>:0
at Verse.TickList.Tick () [0x0015c] in <b02b390b894d4487a224faae4a3db641>:0
Verse.Log:Error(String, Boolean)
Verse.TickList:Tick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:UpdatePlay()
Verse.Root_Play:Verse.Root_Play.Update_Patch1(Root_Play)


I can provide a further log if requested, but it occurs for me every time a chicken's fertilized egg is placed in the freezer, and thus being 'ruined'. The egg *does* turn into an unfertilized egg, despite the error. So it "works" but it is annoying to have the game pause every time unless I disable error pausing.
< >
Showing 1-6 of 6 comments
ignis  [developer] 14 Nov, 2020 @ 8:47am 
Try disabling converting in options to see if it is actually a problem with this mod.
alliephante 15 Nov, 2020 @ 10:02pm 
With the option disabled, no error occurs. The egg remains as a fertilized egg option, just with the normal vanilla behaviour of saying "ruined by temperature."
irilis 19 Aug, 2021 @ 9:58am 
I have almost exactly the same error, with "Suppressing further errors." text added. Multiple times with short intervals inbetween, so no suppression seems to happen.
smitty_the_smith 3 Sep, 2021 @ 10:43am 
Ran a test map with this mod and the dev mods and The "Convert eggs ruined by temperature" option produces an error message. https://gist.github.com/411cbfe33bc96b1acc245f42cd2dafa5
There doesn't seem to be any other effect. That is to say it works, but it also makes the message. It's a bit of a buzz kill. Thought you'd like to know. Thank you for all your hard work.
Mr.Ant 26 Oct, 2021 @ 4:39pm 
this error just occured to me as well and the converting option does produce this error
Cocaine™ 29 Oct, 2021 @ 6:37am 
My game started to hang at intervals of a couple of seconds at any game speed, may not be because of this error but i got the same issue.

Exception ticking EggChickenUnfertilized1145368 (at (144, 0, 110)): 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 <eae584ce26bc40229c1b1aa476bfa589>:0 at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 at Verse.ThingWithComps.Tick () [0x0002d] in <e13bd2f1929544099ed2b58e66ece833>:0 at (wrapper dynamic-method) Verse.TickList.Verse.TickList.Tick_Patch2(Verse.TickList) UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch1 (string) (wrapper dynamic-method) Verse.TickList:Verse.TickList.Tick_Patch2 (Verse.TickList) Verse.TickManager:DoSingleTick () Verse.TickManager:TickManagerUpdate () Verse.Game:UpdatePlay () Verse.Root_Play:Update ()

After disabling converting i don't get the error anymore, although that setting is pretty useful so the eggs can be merged on the same tile.
< >
Showing 1-6 of 6 comments
Per page: 1530 50