RimWorld

RimWorld

Vanilla Furniture Expanded - Security
[Bug] Long Range Artillery stops functioning when sent via drop pod
I also have the VFE: Mechanoids mod installed, which may or may not have contributed. I was assaulting a mechanoid ship and decided to use a pod launcher to send an artillery and shells to assist. It worked fine at first. I had to reload the game after I was done killing the mechanoids due to a UI bug, and when it reloaded the artillery could no longer shoot(it didn't have a target option). When I attempted to uninstall it the artillery disappeared. I reloaded again and tried to just reform the caravan and bring the Artillery with. After confirming my caravan selections the caravan screen bugged out. When I reloaded the reform caravan screen the artillery was gone from the list. Looking at the game output there were several errors involving the artillery.

This error occurred immediately after the load:
Exception spawning loaded thing VFES_Turret_Artillery4155562: System.NullReferenceException: Object reference not set to an instance of an object at VFESecurity.CompLongRangeArtillery.ArtilleryMapComp (Verse.Map map) [0x00036] in <0c7cdc35ad2d49599f507a35801f85c4>:0 at VFESecurity.CompLongRangeArtillery.PostSpawnSetup (System.Boolean respawningAfterLoad) [0x0000d] in <0c7cdc35ad2d49599f507a35801f85c4>:0 at (wrapper dynamic-method) Verse.ThingWithComps.Verse.ThingWithComps.SpawnSetup_Patch1(Verse.ThingWithComps,Verse.Map,bool) at Verse.Building.SpawnSetup (Verse.Map map, System.Boolean respawningAfterLoad) [0x00054] in <99518a644a3e4a7ea3fde566568df84a>:0 at RimWorld.Building_TurretGun.SpawnSetup (Verse.Map map, System.Boolean respawningAfterLoad) [0x00000] in <99518a644a3e4a7ea3fde566568df84a>:0 at (wrapper dynamic-method) Verse.GenSpawn.Verse.GenSpawn.Spawn_Patch2(Verse.Thing,Verse.IntVec3,Verse.Map,Verse.Rot4,Verse.WipeMode,bool) at Verse.GenSpawn.SpawnBuildingAsPossible (Verse.Building building, Verse.Map map, System.Boolean respawningAfterLoad) [0x000f9] in <99518a644a3e4a7ea3fde566568df84a>:0 at Verse.Map.FinalizeLoading () [0x0015c] in <99518a644a3e4a7ea3fde566568df84a>:0
This occurred when I attempted to uninstall it:
JobDriver threw exception in initAction for pawn Sonia driver=JobDriver_Uninstall (toilIndex=2) driver.job=(Uninstall (Job_22246069) A=Thing_VFES_Turret_Artillery4155562) System.NullReferenceException: Object reference not set to an instance of an object at VFESecurity.CompLongRangeArtillery.ArtilleryMapComp (Verse.Map map) [0x00036] in <0c7cdc35ad2d49599f507a35801f85c4>:0 at VFESecurity.CompLongRangeArtillery.PostDeSpawn (Verse.Map map) [0x00001] in <0c7cdc35ad2d49599f507a35801f85c4>:0 at Verse.ThingWithComps.DeSpawn (Verse.DestroyMode mode) [0x00026] in <99518a644a3e4a7ea3fde566568df84a>:0 at Verse.Building.DeSpawn (Verse.DestroyMode mode) [0x00007] in <99518a644a3e4a7ea3fde566568df84a>:0 at RimWorld.Building_TurretGun.DeSpawn (Verse.DestroyMode mode) [0x00000] in <99518a644a3e4a7ea3fde566568df84a>:0 at RimWorld.MinifyUtility.MakeMinified (Verse.Thing thing) [0x0002c] in <99518a644a3e4a7ea3fde566568df84a>:0 at RimWorld.MinifyUtility.Uninstall (Verse.Thing th) [0x00021] in <99518a644a3e4a7ea3fde566568df84a>:0 at RimWorld.JobDriver_Uninstall.FinishedRemoving () [0x00006] in <99518a644a3e4a7ea3fde566568df84a>:0 at RimWorld.JobDriver_RemoveBuilding.<MakeNewToils>b__12_4 () [0x00029] in <99518a644a3e4a7ea3fde566568df84a>:0 at Verse.AI.JobDriver.TryActuallyStartNextToil () [0x001de] in <99518a644a3e4a7ea3fde566568df84a>:0
After reloading post-uninstall:
Exception spawning loaded thing VFES_Turret_Artillery4155562: System.NullReferenceException: Object reference not set to an instance of an object at VFESecurity.CompLongRangeArtillery.ArtilleryMapComp (Verse.Map map) [0x00036] in <0c7cdc35ad2d49599f507a35801f85c4>:0 at VFESecurity.CompLongRangeArtillery.PostSpawnSetup (System.Boolean respawningAfterLoad) [0x0000d] in <0c7cdc35ad2d49599f507a35801f85c4>:0 at (wrapper dynamic-method) Verse.ThingWithComps.Verse.ThingWithComps.SpawnSetup_Patch1(Verse.ThingWithComps,Verse.Map,bool) at Verse.Building.SpawnSetup (Verse.Map map, System.Boolean respawningAfterLoad) [0x00054] in <99518a644a3e4a7ea3fde566568df84a>:0 at RimWorld.Building_TurretGun.SpawnSetup (Verse.Map map, System.Boolean respawningAfterLoad) [0x00000] in <99518a644a3e4a7ea3fde566568df84a>:0 at (wrapper dynamic-method) Verse.GenSpawn.Verse.GenSpawn.Spawn_Patch2(Verse.Thing,Verse.IntVec3,Verse.Map,Verse.Rot4,Verse.WipeMode,bool) at Verse.GenSpawn.SpawnBuildingAsPossible (Verse.Building building, Verse.Map map, System.Boolean respawningAfterLoad) [0x000f9] in <99518a644a3e4a7ea3fde566568df84a>:0 at Verse.Map.FinalizeLoading () [0x0015c] in <99518a644a3e4a7ea3fde566568df84a>:0
This is the error that happened when forming the caravan.
Exception filling window for RimWorld.Dialog_FormCaravan: System.NullReferenceException: Object reference not set to an instance of an object at VFESecurity.CompLongRangeArtillery.ArtilleryMapComp (Verse.Map map) [0x00036] in <0c7cdc35ad2d49599f507a35801f85c4>:0 at VFESecurity.CompLongRangeArtillery.PostDeSpawn (Verse.Map map) [0x00001] in <0c7cdc35ad2d49599f507a35801f85c4>:0 at Verse.ThingWithComps.DeSpawn (Verse.DestroyMode mode) [0x00026] in <99518a644a3e4a7ea3fde566568df84a>:0 at Verse.Building.DeSpawn (Verse.DestroyMode mode) [0x00007] in <99518a644a3e4a7ea3fde566568df84a>:0 at RimWorld.Building_TurretGun.DeSpawn (Verse.DestroyMode mode) [0x00000] in <99518a644a3e4a7ea3fde566568df84a>:0 at (wrapper dynamic-method) Verse.Thing.Verse.Thing.SplitOff_Patch0(Verse.Thing,int) at Verse.ThingWithComps.SplitOff (System.Int32 count) [0x00000] in <99518a644a3e4a7ea3fde566568df84a>:0 at RimWorld.TransferableUtility.Transfer (System.Collections.Generic.List`1[T] things, System.Int32 count, System.Action`2[T1,T2] transferred) [0x00045] in <99518a644a3e4a7ea3fde566568df84a>:0 at RimWorld.Dialog_FormCaravan.AddItemsFromTransferablesToRandomInventories (System.Collections.Generic.List`1[T] pawns) [0x00189] in <99518a644a3e4a7ea3fde566568df84a>:0 at RimWorld.Dialog_FormCaravan.TryReformCaravan () [0x00017] in <99518a644a3e4a7ea3fde566568df84a>:0 at RimWorld.Dialog_FormCaravan.TrySend () [0x00008] in <99518a644a3e4a7ea3fde566568df84a>:0 at RimWorld.Dialog_FormCaravan.DoBottomButtons (UnityEngine.Rect rect) [0x0005d] in <99518a644a3e4a7ea3fde566568df84a>:0 at RimWorld.Dialog_FormCaravan.DoWindowContents (UnityEngine.Rect inRect) [0x00227] in <99518a644a3e4a7ea3fde566568df84a>:0 at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001d3] in <99518a644a3e4a7ea3fde566568df84a>:0
< >
Showing 1-1 of 1 comments
nrei 23 Jan, 2023 @ 4:24pm 
Same problem. Artillery won't fire, can't uninstall (disappears), can't form caravan with artillery (disappears after first error).

I also use VFE: Mechanoids btw.
< >
Showing 1-1 of 1 comments
Per page: 1530 50