RimWorld

RimWorld

Big and Small - Framework
Symmatile 12 Oct, 2024 @ 11:06pm
Incompat between SoS2 / vehicle framework travel with big and small update oct 11th
Was told to send my logs here. This is a issue between the recent big and small update, and SoS2 / vehicle framework. When a big and small pawn is placed in a shuttle and launched they will go to their location, try to land, cannot locate the pawn inside, then send a second false shuttle that causes a explosion. This issue did not start for me until the oct 11th update.

Reproduce :
  1. Install SoS2 and big and small
  2. Set up a pawn with big and small genes, and a shuttle
  3. Send shuttle to any location that requires specified landing
  4. Shuttle goes there and lands
  5. Error below is produced, pawn does not exit pilot seat, second shuttle appears and destroys both shuttles through landing impact

Exception ticking SoS2_Shuttle_HeavyIncoming1389316 (at (56, 0, 103)): System.NullReferenceException: Object reference not set to an instance of an object. [Ref A5676DBD] at BigAndSmall.BSCache.SetWorldOffset () [0x00050] in <f71c8c72d6f24831b285b17a0b139586>:0 at BigAndSmall.BSCache.RegenerateCache () [0x00840] in <f71c8c72d6f24831b285b17a0b139586>:0 at BigAndSmall.DictCache`2[T,V].GetCache (T key, System.Boolean& newEntry, System.Boolean forceRefresh, System.Boolean canRegenerate) [0x000af] in <f71c8c72d6f24831b285b17a0b139586>:0 at BigAndSmall.HumanoidPawnScaler.GetCache (Verse.Pawn pawn, System.Boolean forceRefresh, System.Boolean canRegenerate, System.Int32 scheduleForce) [0x00028] in <f71c8c72d6f24831b285b17a0b139586>:0 at BetterPrerequisites.Pawn_PostMapInit.RefreshPawnGenes (Verse.Pawn __instance, System.Boolean forceRefresh) [0x000b2] in <f71c8c72d6f24831b285b17a0b139586>:0 at BetterPrerequisites.Pawn_SpawnSetup.Postfix (Verse.Pawn __instance, System.Boolean respawningAfterLoad) [0x0004c] in <f71c8c72d6f24831b285b17a0b139586>:0 at Verse.Pawn.SpawnSetup (Verse.Map map, System.Boolean respawningAfterLoad) [0x003f5] in <2a40c3593b334f29ac3cb3d32d652351>:0 - POSTFIX OskarPotocki.VFECore: Void VFECore.CompShieldField+SpawnSetup_Patch:Postfix(Pawn __instance) - POSTFIX OskarPotocki.VFECore: Void VFECore.Shields.ShieldsSystem:OnPawnSpawn(Pawn __instance) - POSTFIX RedMattis.BetterPrerequisites: Void BetterPrerequisites.Pawn_SpawnSetup:Postfix(Pawn __instance, Boolean respawningAfterLoad) - POSTFIX OskarPotocki.VFECore: Void VFECore.PhasingPatches:CheckPhasing(Pawn __instance) - POSTFIX Vera.bug: Void OopsBug.OopsVanillaPatches:Post_PostMapInit(Pawn __instance) - POSTFIX OskarPotocki.VanillaPsycastsExpanded: Void VanillaPsycastsExpanded.Pawn_Spawn_Patches:PawnPostSpawned(Pawn __instance) at Vehicles.VehiclePawn.SpawnSetup (Verse.Map map, System.Boolean respawningAfterLoad) [0x0002d] in <b0a7aa2261564289b7b5d8798d3df720>:0 - PREFIX ShipInteriorMod2: Boolean SaveOurShip2.PostSpawnNewComponents:Prefix(VehiclePawn __instance, Boolean respawningAfterLoad) - POSTFIX ShipInteriorMod2: Void SaveOurShip2.PostSpawnNewComponents:Postfix(VehiclePawn __instance, Boolean respawningAfterLoad) - POSTFIX ShipInteriorMod2: Void SaveOurShip2.ShuttlesDontStartDrafted:Postfix(VehiclePawn __instance) at Verse.GenSpawn.Spawn (Verse.Thing newThing, Verse.IntVec3 loc, Verse.Map map, Verse.Rot4 rot, Verse.WipeMode wipeMode, System.Boolean respawningAfterLoad, System.Boolean forbidLeavings) [0x00329] in <2a40c3593b334f29ac3cb3d32d652351>:0 - PREFIX Uuugggg.rimworld.Replace_Stuff.main: Void Replace_Stuff.NewThing.TransferSettings:Prefix(Thing newThing, IntVec3 loc, Map map, Rot4 rot, Boolean respawningAfterLoad, Thing& __state) - PREFIX SmashPhil.VehicleFramework: Boolean Vehicles.Construction:RegisterThingSpawned(Thing newThing, IntVec3& loc, Map map, Rot4& rot, Thing& __result, WipeMode wipeMode, Boolean respawningAfterLoad) - POSTFIX Uuugggg.rimworld.Replace_Stuff.main: Void Replace_Stuff.NewThing.TransferSettings:Postfix(Thing __result, Thing __state) at Vehicles.VehicleSkyfaller_Arriving.FinalizeLanding () [0x00107] in <b0a7aa2261564289b7b5d8798d3df720>:0 at Vehicles.VehicleSkyfaller_Arriving.Tick () [0x00048] in <b0a7aa2261564289b7b5d8798d3df720>:0 at Verse.TickList.Tick () [0x0015c] in <2a40c3593b334f29ac3cb3d32d652351>:0 UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch2 (string) Verse.TickList:Tick () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch4 (Verse.TickManager) Verse.TickManager:TickManagerUpdate () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch3 (Verse.Game) Verse.Root_Play:Update ()
< >
Showing 1-2 of 2 comments
Symmatile 14 Oct, 2024 @ 3:24pm 
It should be noted after some more testing that this error also occurs with pawns that do not have big and small genes. Maybe it is from that "HAR at home" update?
Symmatile 14 Oct, 2024 @ 4:24pm 
https://gist.github.com/HugsLibRecordKeeper/479ef102850044e2385ac82127f9329a

Here is a log with the error in question, line 2980.
< >
Showing 1-2 of 2 comments
Per page: 1530 50