skyarkhangel/Hardcore-SK

Endless stream of cargo pod spawning

94e2215f04 opened this issue · 0 comments

development branch

Cargo pod event spawns an endless stream of cargo pods. Saving and reloading spawns another endless stream in another location.

Logs get spammed with:

Error while generating pawn. Rethrowing. Exception: System.NullReferenceException: Object reference not set to an instance of an object
  at (wrapper dynamic-method) Verse.PawnGenerator.Verse.PawnGenerator.TryGenerateNewPawnInternal_Patch2(Verse.PawnGenerationRequest&,string&,bool,bool)
  at Verse.PawnGenerator.GenerateNewPawnInternal (Verse.PawnGenerationRequest& request) [0x00094] in <d006c28bc811417ea565feda544f6d2b>:0 
  at (wrapper dynamic-method) Verse.PawnGenerator.Verse.PawnGenerator.GenerateOrRedressPawnInternal_Patch2(Verse.PawnGenerationRequest)
  at (wrapper dynamic-method) Verse.PawnGenerator.Verse.PawnGenerator.GeneratePawn_Patch4(Verse.PawnGenerationRequest)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch4 (string)
(wrapper dynamic-method) Verse.PawnGenerator:Verse.PawnGenerator.GeneratePawn_Patch4 (Verse.PawnGenerationRequest)
SK.Events.Ticker_SCcounter:Tick ()
Verse.TickList:Tick ()
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch1 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch2 (Verse.Game)
Verse.Root_Play:Update ()

image