I had occasional game freeze (to point i needed to kill process).
Was unable to trace to which mod but I also realized that I had no trader ships landing for quite some time. So i did try using debug command to recycle trader ships (the one that instantly spawn 5 traders)
Game crash after logging message that traders where rotated but before showing/generating letter message of new traders arrived.
W/o tradeships mod I can use replace command normally.
Steps to reproduce the behavior (VERY IMPORTANT)
have a game with traderships mod, landing pad and comms console build and powered
use replace trader ships debug command (not sure if there is better way to trigger vanilla trader arrival)
game will freeze almost instantly
Note - mod adds it's own debug command to spawn ship and make i land in a place - this one seems to be working fine.
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 System.Collections.Generic.List`1[T].get_Item (System.Int32 index) [0x00009] in <eae584ce26bc40229c1b1aa476bfa589>:0
at Verse.ThingOwner`1[T].GetAt (System.Int32 index) [0x00000] in <38562b1a2ab64eacb931fb5df05ca994>:0
at RimThreaded.RW_Patches.TradeShip_Patch.PassingShipListTick () [0x00062] in <ecd0748a483645afb32087a92b0b4c3c>:0
at RimThreaded.RW_Patches.Map_Patch.MapPostListTick () [0x0000a] in <ecd0748a483645afb32087a92b0b4c3c>:0
at RimThreaded.RimThreaded.ExecuteTicks () [0x0001d] in <ecd0748a483645afb32087a92b0b4c3c>:0
at RimThreaded.RimThreaded.ProcessTicks (RimThreaded.RimThreaded+ThreadInfo threadInfo) [0x0002f] in <ecd0748a483645afb32087a92b0b4c3c>:0
at RimThreaded.RimThreaded.InitializeThread (System.Object threadInfo) [0x0000c] in <ecd0748a483645afb32087a92b0b4c3c>:0
at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00025] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Threading.ThreadHelper.ThreadStart (System.Object obj) [0x0000f] in <eae584ce26bc40229c1b1aa476bfa589>:0
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
UnityEngine.<>c:<RegisterUECatcher>b__0_0(Object, UnhandledExceptionEventArgs)
This is last exception in log - this exception would be logged post/during crash, as it did not rise error window in game
(Filename: <eae584ce26bc40229c1b1aa476bfa589> Line: 0)
Non-Vanilla Bug Report
Describe the bug
I had occasional game freeze (to point i needed to kill process). Was unable to trace to which mod but I also realized that I had no trader ships landing for quite some time. So i did try using debug command to recycle trader ships (the one that instantly spawn 5 traders) Game crash after logging message that traders where rotated but before showing/generating letter message of new traders arrived.
W/o tradeships mod I can use replace command normally.
Steps to reproduce the behavior (VERY IMPORTANT)
Note - mod adds it's own debug command to spawn ship and make i land in a place - this one seems to be working fine.
Error Logs ?
HugsLib log
https://www.dropbox.com/s/7n2q1ge19bwg13g/hugslib%20log%20-%202023-03-23_1.txt?dl=0 Log is taken before using "replace traders" command.
Player.log (Optional)
https://www.dropbox.com/s/z3l399xhskmez4k/Player%20-%202023-03-23_1.log?dl=0 (log copied after program termination)
Save file ?
https://www.dropbox.com/s/yyjzg9pflv7m2v5/Nuclear%20Freedom%20-%202023-03-23_1.rws?dl=0
Screenshots (Optional) ?
https://www.dropbox.com/s/ai3v3p6vx7vrmal/Capture%20-%202023-03-23_1.PNG?dl=0 Not really helpful, but you can see that ships are being spawned.
Mod list (Preferably a RimPy compatible list.) ?