RimWorld

RimWorld

Reunion
Kassc 13 Jun, 2023 @ 9:07pm
BUG
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 Kyrun.Reunion.GameComponent.GetRandomAllyForSpawning () [0x0002c] in <1029bcdae8cf466f805978502f6d3a96>:0
at Kyrun.Reunion.IncidentAllyJoin.Do () [0x00017] in <1029bcdae8cf466f805978502f6d3a96>:0
at Kyrun.Reunion.IncidentWorker_AllyJoin.TryExecuteWorker (RimWorld.IncidentParms parms) [0x00000] in <1029bcdae8cf466f805978502f6d3a96>:0
at (wrapper dynamic-method) RimWorld.IncidentWorker.RimWorld.IncidentWorker.TryExecute_Patch6(RimWorld.IncidentWorker,RimWorld.IncidentParms)
at RimWorld.ScenPart_CreateIncident.Tick () [0x00091] in <95de19971c5d40878d8742747904cdcd>:0
at (wrapper dynamic-method) RimWorld.Scenario.RimWorld.Scenario.TickScenario_Patch1(RimWorld.Scenario)
at (wrapper dynamic-method) Verse.TickManager.Verse.TickManager.DoSingleTick_Patch11(Verse.TickManager)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch4 (string)
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch11 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch4 (Verse.Game)
(wrapper dynamic-method) Verse.Root_Play:Verse.Root_Play.Update_Patch1 (Verse.Root_Play)
< >
Showing 1-4 of 4 comments
Kyrun  [developer] 15 Jun, 2023 @ 1:53am 
you need to specify how this happened, and are you able reproduce it again?
Kassc 15 Jun, 2023 @ 9:21am 
I think is a compat issues with Alpha genes and Reunion.
When I enable ``Mineral overdrive`` on a pawn that I got via Reunion. After saving and loading I start to get spammed with this error.
I can remove the ``Mineral Overdrive`` buff with Character creator but instead I get spammed with this.

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 Kyrun.Reunion.GameComponent.GetRandomAllyForSpawning () [0x0002c] in <1029bcdae8cf466f805978502f6d3a96>:0
at Kyrun.Reunion.IncidentAllyJoin.Do () [0x00017] in <1029bcdae8cf466f805978502f6d3a96>:0
at Kyrun.Reunion.IncidentWorker_AllyJoin.TryExecuteWorker (RimWorld.IncidentParms parms) [0x00000] in <1029bcdae8cf466f805978502f6d3a96>:0
at (wrapper dynamic-method) RimWorld.IncidentWorker.RimWorld.IncidentWorker.TryExecute_Patch6(RimWorld.IncidentWorker,RimWorld.IncidentParms)
at RimWorld.ScenPart_CreateIncident.Tick () [0x00091] in <95de19971c5d40878d8742747904cdcd>:0
at (wrapper dynamic-method) RimWorld.Scenario.RimWorld.Scenario.TickScenario_Patch1(RimWorld.Scenario)
at (wrapper dynamic-method) Verse.TickManager.Verse.TickManager.DoSingleTick_Patch11(Verse.TickManager)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch4 (string)
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch11 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch4 (Verse.Game)
(wrapper dynamic-method) Verse.Root_Play:Verse.Root_Play.Update_Patch1 (Verse.Root_Play)

https://gist.github.com/HugsLibRecordKeeper/36579813b08b86d226291576934a22b5
Last edited by Kassc; 15 Jun, 2023 @ 9:21am
Kassc 17 Jun, 2023 @ 10:14am 
The only fix I manage to find was removing Reunion.
Besides this little hurdle, amazing mod. I been using this mod since 1.12! Thanks for this making this~
Last edited by Kassc; 17 Jun, 2023 @ 10:16am
Kyrun  [developer] 4 Jul, 2023 @ 5:03pm 
Can you create a few save games with just that one mod and reproduce the problem? A few save games meaning before the bug happens and after the bug happens so I can test. I'm afraid I don't have the time (or energy) to figure out which 100s of mods I need to download in order to reproduce it or slowly play until I get the bug. :(
< >
Showing 1-4 of 4 comments
Per page: 1530 50