RimWorld

RimWorld

Gloomy Furniture Fix
TAWM 22 May, 2024 @ 5:39am
Bug reports
MT
Um...The new bookshelf update (losing the effect of linking the research platform) has disrupted the game's judgment in this regard.

Exception in BreadthFirstTraverse: System.NullReferenceException: Object reference not set to an instance of an object
[Ref 505F3F7F]
at RimWorld.CompAffectedByFacilities.IsPotentiallyValidFacilityForMe (Verse.ThingDef facilityDef, Verse.IntVec3 facilityPos, Verse.Rot4 facilityRot) [0x0003e] in <91ef6de66e7b4ba2839be0ab7f01fedf>:0
at RimWorld.CompAffectedByFacilities.CanPotentiallyLinkTo (Verse.ThingDef facilityDef, Verse.IntVec3 facilityPos, Verse.Rot4 facilityRot) [0x00038] in <91ef6de66e7b4ba2839be0ab7f01fedf>:0
at RimWorld.CompAffectedByFacilities.CanLinkTo (Verse.Thing facility) [0x00013] in <91ef6de66e7b4ba2839be0ab7f01fedf>:0
at RimWorld.CompAffectedByFacilities+<get_ThingsICanLinkTo>d__22.MoveNext () [0x0008f] in <91ef6de66e7b4ba2839be0ab7f01fedf>:0
at RimWorld.CompAffectedByFacilities.LinkToNearbyFacilities () [0x00045] in <91ef6de66e7b4ba2839be0ab7f01fedf>:0
at RimWorld.CompAffectedByFacilities.RelinkAll () [0x00000] in <91ef6de66e7b4ba2839be0ab7f01fedf>:0
at RimWorld.CompAffectedByFacilities.Notify_LOSBlockerSpawnedOrDespawned () [0x00000] in <91ef6de66e7b4ba2839be0ab7f01fedf>:0
at RimWorld.FacilitiesUtility+<>c__DisplayClass5_0.<NotifyFacilitiesAboutChangedLOSBlockers>b__1 (Verse.Region x) [0x0007b] in <91ef6de66e7b4ba2839be0ab7f01fedf>:0
at Verse.RegionTraverser+BFSWorker.BreadthFirstTraverseWork (Verse.Region root, Verse.RegionEntryPredicate entryCondition, Verse.RegionProcessor regionProcessor, System.Int32 maxRegions, Verse.RegionType traversableRegionTypes) [0x00054] in <91ef6de66e7b4ba2839be0ab7f01fedf>:0
at Verse.RegionTraverser.BreadthFirstTraverse (Verse.Region root, Verse.RegionEntryPredicate entryCondition, Verse.RegionProcessor regionProcessor, System.Int32 maxRegions, Verse.RegionType traversableRegionTypes) [0x0005b] in <91ef6de66e7b4ba2839be0ab7f01fedf>:0
- TRANSPILER net.pardeike.rimworld.lib.harmony: IEnumerable`1 VisualExceptions.ExceptionsAndActivatorHandler:Transpiler(IEnumerable`1 instructions, MethodBase original)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch6 (string)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.RegionTraverser.BreadthFirstTraverse_Patch0 (Verse.Region,Verse.RegionEntryPredicate,Verse.RegionProcessor,int,Verse.RegionType)
RimWorld.FacilitiesUtility:NotifyFacilitiesAboutChangedLOSBlockers (System.Collections.Generic.List`1<Verse.Region>)
Verse.District:Notify_RoomShapeOrContainedBedsChanged ()
Verse.RegionAndRoomUpdater:NotifyAffectedDistrictsAndRoomsAndUpdateTemperature ()
Verse.RegionAndRoomUpdater:CreateOrUpdateRooms ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.RegionAndRoomUpdater.TryRebuildDirtyRegionsAndRooms_Patch0 (Verse.RegionAndRoomUpdater)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Map.MapUpdate_Patch1 (Verse.Map)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch3 (Verse.Game)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root_Play.Update_Patch0 (Verse.Root_Play)

↑↑↑When you try to build or demolish structures in a room with bookshelves↑↑↑

Root level exception in OnGUI(): System.NullReferenceException: Object reference not set to an instance of an object
[Ref 73BA6CA5]
at RimWorld.CompAffectedByFacilities.IsPotentiallyValidFacilityForMe (Verse.ThingDef facilityDef, Verse.IntVec3 facilityPos, Verse.Rot4 facilityRot) [0x0003e] in <91ef6de66e7b4ba2839be0ab7f01fedf>:0
at RimWorld.CompAffectedByFacilities.CanPotentiallyLinkTo (Verse.ThingDef facilityDef, Verse.IntVec3 facilityPos, Verse.Rot4 facilityRot) [0x00038] in <91ef6de66e7b4ba2839be0ab7f01fedf>:0
at RimWorld.CompAffectedByFacilities.CanLinkTo (Verse.Thing facility) [0x00013] in <91ef6de66e7b4ba2839be0ab7f01fedf>:0
at RimWorld.CompAffectedByFacilities+<get_ThingsICanLinkTo>d__22.MoveNext () [0x0008f] in <91ef6de66e7b4ba2839be0ab7f01fedf>:0
at RimWorld.CompAffectedByFacilities.LinkToNearbyFacilities () [0x00045] in <91ef6de66e7b4ba2839be0ab7f01fedf>:0
at RimWorld.CompAffectedByFacilities.PostSpawnSetup (System.Boolean respawningAfterLoad) [0x00000] in <91ef6de66e7b4ba2839be0ab7f01fedf>:0
at Verse.ThingWithComps.SpawnSetup (Verse.Map map, System.Boolean respawningAfterLoad) [0x00026] in <91ef6de66e7b4ba2839be0ab7f01fedf>:0
- POSTFIX OskarPotocki.VFECore: Void VFECore.Thing_SpawnSetup_Patch:Postfix(ThingWithComps __instance)
- POSTFIX VoiceroidAsAnimal.HarmonyPatch: Void VoiceroidAsAnimal_Harmony.Patch_ThingWithComps_SpawnSetup_Postfix:Postfix(ThingWithComps __instance)
at Verse.Building.SpawnSetup (Verse.Map map, System.Boolean respawningAfterLoad) [0x00054] in <91ef6de66e7b4ba2839be0ab7f01fedf>:0
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) [0x002e5] in <91ef6de66e7b4ba2839be0ab7f01fedf>:0
- PREFIX VoiceroidAsAnimal.HarmonyPatch: Boolean VoiceroidAsAnimal_Harmony.Patch_GenSpawnPrefix:Prefix(Thing newThing, IntVec3 loc, Map map)
at RimWorld.Designator_Build.DesignateSingleCell (Verse.IntVec3 c) [0x000a5] in <91ef6de66e7b4ba2839be0ab7f01fedf>:0
at Verse.DesignatorManager.ProcessInputEvents () [0x00074] in <91ef6de66e7b4ba2839be0ab7f01fedf>:0
- PREFIX Merthsoft.DesignatorShapes: Void Merthsoft.DesignatorShapes.Patches.DesignatorManager_ProcessInputEvents:Prefix(DesignatorManager __instance)
- PREFIX Dubwise.DubsPaintShop: Void DubRoss.Harmony_ProcessInputEvents:Prefix(DesignatorManager __instance)
- POSTFIX Merthsoft.DesignatorShapes: Void Merthsoft.DesignatorShapes.Patches.DesignatorManager_ProcessInputEvents:Postfix(DesignatorManager __instance)
at RimWorld.MapInterface.HandleMapClicks () [0x0001e] in <91ef6de66e7b4ba2839be0ab7f01fedf>:0
- TRANSPILER Telardo.PipetteTool: IEnumerable`1 PipetteTool.Patch_MapInterface:Transpiler(IEnumerable`1 instructions)
- POSTFIX PerformanceOptimizer.Main: Void PerformanceOptimizer.Optimization_UIToggle:Postfix()
at RimWorld.UIRoot_Play.UIRootOnGUI () [0x0009e] in <91ef6de66e7b4ba2839be0ab7f01fedf>:0
- PREFIX Dubwise.PerformanceAnalyzer: Void Analyzer.H_KeyPresses:OnGUI()
- POSTFIX net.pardeike.rimworld.mod.camera+: Void CameraPlus.UIRoot_Play_UIRootOnGUI_Patch:Postfix()
- POSTFIX Krkr.RocketMan: Void RocketMan.KeyBinder:OnGUI()
at Verse.Root.OnGUI () [0x00046] in <91ef6de66e7b4ba2839be0ab7f01fedf>:0
- TRANSPILER net.pardeike.rimworld.lib.harmony: IEnumerable`1 VisualExceptions.ExceptionsAndActivatorHandler:Transpiler(IEnumerable`1 instructions, MethodBase original)
- POSTFIX UnlimitedHugs.HugsLib: Void HugsLib.Patches.Root_OnGUI_Patch:OnGUIHookUnfiltered()
- POSTFIX net.pardeike.rimworld.mod.camera+: Void CameraPlus.Root_OnGUI_Patch:Postfix()
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch6 (string)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.OnGUI_Patch2 (Verse.Root)


↑↑↑When you try to build a research platform in a room with bookshelves↑↑↑
< >
Showing 1-1 of 1 comments
throws some errors on game load:

XML error: <placingDraggableDimensions>1</placingDraggableDimensions> doesn't correspond to any field in type ThingDef. Context: <ThingDef ParentName="RKGFence"><category>Building</category><thingClass>Building_Vent</thingClass><soundImpactDefault>BulletImpact_Ground</soundImpactDefault><selectable>true</selectable><drawerType>MapMeshAndRealTime</drawerType><terrainAffordanceNeeded>Medium</terrainAffordanceNeeded><repairEffect>Repair</repairEffect><leaveResourcesWhenKilled>true</leaveResourcesWhenKilled><statBases><SellPriceFactor>0.70</SellPriceFactor><Beauty>3</Beauty><MaxHitPoints>200</MaxHitPoints><WorkToBuild>180</WorkToBuild><Flammability>1.0</Flammability></statBases><defName>RGK_VentWall</defName><label>vent wall</label><description>It's a wall where air can come in and out.</description><graphicData><texPath>Things/Building/Linked/RGK_VentWall</texPath><shaderType>CutoutComplex</shaderType><graphicClass>Graphic_Appearances</graphicClass><linkType>CornerFiller</linkType><linkFlags><li>Wall</li><li>Rock</li></linkFlags><damageData><cornerTL>Damage/Corner</cornerTL><cornerTR>Damage/Corner</cornerTR><cornerBL>Damage/Corner</cornerBL><cornerBR>Damage/Corner</cornerBR><edgeTop>Damage/Edge</edgeTop><edgeBot>Damage/Edge</edgeBot><edgeLeft>Damage/Edge</edgeLeft><edgeRight>Damage/Edge</edgeRight></damageData></graphicData><uiIconPath>Things/Building/Linked/RGK_VentWall_MenuIcon</uiIconPath><stuffCategories><li>Woody</li></stuffCategories><costStuffCount>5</costStuffCount><altitudeLayer>Building</altitudeLayer><passability>Impassable</passability><castEdgeShadows>true</castEdgeShadows><fillPercent>1</fillPercent><coversFloor>true</coversFloor><placingDraggableDimensions>1</placingDraggableDimensions><tickerType>Rare</tickerType><rotatable>true</rotatable><holdsRoof>true</holdsRoof><staticSunShadowHeight>1</staticSunShadowHeight><blockLight>true</blockLight><placeWorkers><li>PlaceWorker_Vent</li></placeWorkers><blockWind>true</blockWind><filthLeaving>Filth_RubbleBuilding</filthLeaving><drawPlaceWorkersWhileSelected>true</drawPlaceWorkersWhileSelected><building><blueprintGraphicData><texPath>Things/Building/Linked/RGK_VentWall_Blueprint_Atlas</texPath></blueprintGraphicData><isInert>true</isInert><ai_chillDestination>false</ai_chillDestination><supportsWallAttachments>true</supportsWallAttachments><canPlaceOverWall>true</canPlaceOverWall></building><comps><li Class="Gloomylynx.CompProperties_FlickableVent"><commandTexture>UI/Commands/Vent</commandTexture><commandLabelKey>CommandDesignateOpenCloseVentLabel</commandLabelKey><commandDescKey>CommandDesignateOpenCloseVentDesc</commandDescKey></li></comps><designationCategory>OldStyleFurniture</designationCategory><designationHotKey>Misc3</designationHotKey></ThingDef> UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string) Verse.XmlToObjectUtils:DoFieldSearch (System.Type,System.Xml.XmlNode,System.Xml.XmlNode) Verse.DirectXmlToObjectNew:ResolveFieldForNode (System.Type,System.Xml.XmlNode,System.Xml.XmlNode) (wrapper dynamic-method) Verse.DirectXmlToObjectNew/DummyTypeToHoldDynamicMethods:ParseAndReturnDef_Verse_ThingDef (int,int,System.Xml.XmlNode,System.Type) (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.DirectXmlToObjectNew.DefFromNodeNew_Patch1 (System.Xml.XmlNode,Verse.LoadableXmlAsset) (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.LoadedModManager.ParseAndProcessXML_Patch0 (System.Xml.XmlDocument,System.Collections.Generic.Dictionary`2<System.Xml.XmlNode, Verse.LoadableXmlAsset>,bool) Verse.LoadedModManager:LoadAllActiveMods (bool) Verse.PlayDataLoader:DoPlayLoad () Verse.PlayDataLoader:LoadAllPlayData (bool) Verse.Root/<>c:<Start>b__10_1 () Verse.LongEventHandler:RunEventFromAnotherThread (System.Action) Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__28_0 () System.Threading.ThreadHelper:ThreadStart_Context (object) System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object) System.Threading.ThreadHelper:ThreadStart ()
XML error: <placingDraggableDimensions>1</placingDraggableDimensions> doesn't correspond to any field in type ThingDef. Context: <ThingDef ParentName="BuildingBase"><category>Building</category><thingClass>Gloomylynx.GL_Building</thingClass><soundImpactDefault>BulletImpact_Metal</soundImpactDefault><selectable>true</selectable><drawerType>MapMeshOnly</drawerType><altitudeLayer>Building</altitudeLayer><terrainAffordanceNeeded>Medium</terrainAffordanceNeeded><repairEffect>Repair</repairEffect><leaveResourcesWhenKilled>false</leaveResourcesWhenKilled><filthLeaving>Filth_RubbleBuilding</filthLeaving><statBases><SellPriceFactor>0.70</SellPriceFactor><Beauty>1</Beauty><MaxHitPoints>250</MaxHitPoints><WorkToBuild>150</WorkToBuild><Flammability>0.5</Flammability></statBases><comps><li><compClass>LightsOut.ThingComps.KeepOnComp</compClass></li></comps><defName>GL_Wall</defName><label>wall</label><description>An impassable wall. Capable of holding up a roof.</description><graphicData><texPath>Things/Building/Linked/GL_Wall</texPath><graphicClass>Graphic_Appearances</graphicClass><linkType>CornerFiller</linkType><linkFlags><li>Wall</li><li>Rock</li></linkFlags><damageData><cornerTL>Damage/Corner</cornerTL><cornerTR>Damage/Corner</cornerTR><cornerBL>Damage/Corner</cornerBL><cornerBR>Damage/Corner</cornerBR><edgeTop>Damage/Edge</edgeTop><edgeBot>Damage/Edge</edgeBot><edgeLeft>Damage/Edge</edgeLeft><edgeRight>Damage/Edge</edgeRight></damageData></graphicData><uiIconPath>Things/Building/Linked/GL_WallBricks_MenuIcon</uiIconPath><stuffCategories><li>Woody</li><li>Stony</li><li>Metallic</li><li>Concrete</li></stuffCategories><costStuffCount>5</costStuffCount><passability>Impassable</passability><blockWind>true</blockWind><castEdgeShadows>true</castEdgeShadows><fillPercent>1</fillPercent><coversFloor>true</coversFloor><placingDraggableDimensions>1</placingDraggableDimensions><tickerType>Never</tickerType><rotatable>false</rotatable><neverMultiSelect>true</neverMultiSelect><holdsRoof>true</holdsRoof><designationCategory>OldStyleFurniture</designationCategory><staticSunShadowHeight>1.0</staticSunShadowHeight><blockLight>true</blockLight><canOverlapZones>false</canOverlapZones><building><isInert>true</isInert><ai_chillDestination>false</ai_chillDestination><supportsWallAttachments>true</supportsWallAttachments><blueprintGraphicData><texPath>Things/Building/Linked/RGK_Wall_Blueprint_Atlas</texPath></blueprintGraphicData></building><designationHotKey>Misc3</designationHotKey></ThingDef> UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string) Verse.XmlToObjectUtils:DoFieldSearch (System.Type,System.Xml.XmlNode,System.Xml.XmlNode) Verse.DirectXmlToObjectNew:ResolveFieldForNode (System.Type,System.Xml.XmlNode,System.Xml.XmlNode) (wrapper dynamic-method) Verse.DirectXmlToObjectNew/DummyTypeToHoldDynamicMethods:ParseAndReturnDef_Verse_ThingDef (int,int,System.Xml.XmlNode,System.Type) (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.DirectXmlToObjectNew.DefFromNodeNew_Patch1 (System.Xml.XmlNode,Verse.LoadableXmlAsset) (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.LoadedModManager.ParseAndProcessXML_Patch0 (System.Xml.XmlDocument,System.Collections.Generic.Dictionary`2<System.Xml.XmlNode, Verse.LoadableXmlAsset>,bool) Verse.LoadedModManager:LoadAllActiveMods (bool) Verse.PlayDataLoader:DoPlayLoad () Verse.PlayDataLoader:LoadAllPlayData (bool) Verse.Root/<>c:<Start>b__10_1 () Verse.LongEventHandler:RunEventFromAnotherThread (System.Action) Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__28_0 () System.Threading.ThreadHelper:ThreadStart_Context (object) System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object) System.Threading.ThreadHelper:ThreadStart ()

and about 7 more similar ones. logs:

https://gist.github.com/HugsLibRecordKeeper/423063cfe9fa492aa4ec574e8012e7cb

load order:
1. Gloomy Furniture
2. https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3147698168
3. https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2987876242
4. https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3231428653
< >
Showing 1-1 of 1 comments
Per page: 1530 50