RimWorld

RimWorld

Mixed Stone Blocks
祁连遥 30 Aug, 2020 @ 11:45pm
bug report
Today after 12:53 update
The following three error messages have been resolved.

XML error: <destroySoundSmall>BuildingDestroyed_Stone_Small</destroySoundSmall> doesn't correspond to any field in type StuffCategoryDef.Context: <StuffCategoryDef><defName>MixedStone</defName><label>mixed

XML error: <destroySoundMedium>BuildingDestroyed_Stone_Medium</destroySoundMedium> doesn't correspond to any field in type StuffCategoryDef.Context: <StuffCategoryDef><defName>MixedStone</defName><label>mixed

XML error: <destroySoundLarge>BuildingDestroyed_Stone_Big</destroySoundLarge> doesn't correspond to any field in type StuffCategoryDef.Context: <StuffCategoryDef><defName>MixedStone</defName><label>mixed

Thank you for your prompt response.

But there is actually another error message.
This only happens when used in combination with other mods, but I'm using a lot of mods, so I didn't report it earlier as it takes a lot of time to identify
It comes out when the game starts.
The content of the message is here.
Could not execute post-long-event action. Exception: System.NullReferenceException: Object reference not set to an instance of an object
at MixedStoneBlocks.GraphicUtilityPatch+ExtractInnerGraphicForPatch.Prefix (Verse.Graphic outerGraphic, Verse.Thing thing, Verse.Graphic& __result) [0x00001] in <273c9f6798fc42158332b1defeed80c4>:0
at (wrapper dynamic-method) Verse.GraphicUtility.Verse.GraphicUtility.ExtractInnerGraphicFor_Patch1(Verse.Graphic,Verse.Thing)
at Verse.BuildableDef.ResolveIcon () [0x0004f] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0
at Verse.ThingDef.ResolveIcon () [0x00000] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0
at Verse.BuildableDef.<PostLoad>b__58_0 () [0x00020] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0
at Verse.LongEventHandler.ExecuteToExecuteWhenFinished () [0x0007d] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0
Verse.Log:Error(String, Boolean)
Verse.LongEventHandler:ExecuteToExecuteWhenFinished()
Verse.LongEventHandler:UpdateCurrentAsynchronousEvent()
Verse.LongEventHandler:LongEventsUpdate(Boolean&)
Verse.Root:Verse.Root.Update_Patch1(Root)
Verse.Root_Entry:Update()


After reading the save data, the following error messages will appear.

Could not execute post-long-event action. Exception: System.NullReferenceException: Object reference not set to an instance of an object
at MixedStoneBlocks.GraphicUtilityPatch+ExtractInnerGraphicForPatch.Prefix (Verse.Graphic outerGraphic, Verse.Thing thing, Verse.Graphic& __result) [0x00001] in <273c9f6798fc42158332b1defeed80c4>:0
at (wrapper dynamic-method) Verse.GraphicUtility.Verse.GraphicUtility.ExtractInnerGraphicFor_Patch1(Verse.Graphic,Verse.Thing)
at Verse.BuildableDef.ResolveIcon () [0x0004f] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0
at Verse.TerrainDef.ResolveIcon () [0x00000] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0
at Verse.BuildableDef.<PostLoad>b__58_0 () [0x00020] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0
at Verse.LongEventHandler.ExecuteToExecuteWhenFinished () [0x0007d] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0
Verse.Log:Error(String, Boolean)
Verse.LongEventHandler:ExecuteToExecuteWhenFinished()
Verse.LongEventHandler:ExecuteWhenFinished(Action)
Verse.BuildableDef:PostLoad()
Verse.TerrainDef:Verse.TerrainDef.PostLoad_Patch1(TerrainDef)
GloomyDeco.HarmonyPatches_MapMeshDrawerUpdate_First:Postfix(Map)
Verse.MapDrawer:Verse.MapDrawer.MapMeshDrawerUpdate_First_Patch1(MapDrawer)
Verse.Map:MapUpdate()
Verse.Game:UpdatePlay()
Verse.Root_Play:Update()

If you select more characters the following error messages will appear.

System.NullReferenceException: Object reference not set to an instance of an object
at MixedStoneBlocks.GraphicUtilityPatch+ExtractInnerGraphicForPatch.Prefix (Verse.Graphic outerGraphic, Verse.Thing thing, Verse.Graphic& __result) [0x00001] in <273c9f6798fc42158332b1defeed80c4>:0
at (wrapper dynamic-method) Verse.GraphicUtility.Verse.GraphicUtility.ExtractInnerGraphicFor_Patch1(Verse.Graphic,Verse.Thing)
at SimpleSidearms.rimworld.Gizmo_SidearmsList.DrawIconForWeapon (Verse.Pawn pawn, SimpleSidearms.rimworld.CompSidearmMemory pawnMemory, Verse.ThingWithComps weapon, System.Boolean isDuplicate, UnityEngine.Rect contentRect, UnityEngine.Vector2 iconOffset) [0x002c7] in <dc8a5df38a4349aeaabc68a715d779e0>:0
at SimpleSidearms.rimworld.Gizmo_SidearmsList.GizmoOnGUI (UnityEngine.Vector2 topLeft, System.Single maxWidth) [0x00140] in <dc8a5df38a4349aeaabc68a715d779e0>:0
at Verse.GizmoGridDrawer.DrawGizmoGrid (System.Collections.Generic.IEnumerable`1[T] gizmos, System.Single startX, Verse.Gizmo& mouseoverGizmo) [0x0030d] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0
at (wrapper dynamic-method) RimWorld.InspectGizmoGrid.RimWorld.InspectGizmoGrid.DrawInspectGizmoGridFor_Patch0(System.Collections.Generic.IEnumerable`1<object>,Verse.Gizmo&)
Verse.Log:Error(String, Boolean)
Verse.Log:ErrorOnce(String, Int32, Boolean)
RimWorld.InspectGizmoGrid:RimWorld.InspectGizmoGrid.DrawInspectGizmoGridFor_Patch0(IEnumerable`1, Gizmo&)
RimWorld.MainTabWindow_Inspect:DrawInspectGizmos()
RimWorld.InspectPaneUtility:ExtraOnGUI(IInspectPane)
RimWorld.MainTabWindow_Inspect:ExtraOnGUI()
Verse.WindowStack:WindowStackOnGUI()
RimWorld.UIRoot_Play:UIRootOnGUI()
Verse.Root:Verse.Root.OnGUI_Patch1(Root)


Even now, I do not know which mod collided, but I will report only the findings first.
This actually hinders gameplay
1. You cannot recruit the characters.
2. After selecting a character, the tags for socializing, equipment, health, etc. displayed in the lower left will turn dark.
3. A part of the simple sidearm UI display disappears. If you put the mouse on the part that disappeared, the color of the tag will change together.(socializing, equipment, health, etc.)
4. This bug appears only for existing saves, there is no problem if you make a new save.
5. If you remove the Mixed Stone Blocks, the bug will disappear.
6. Older versions of Mixed Stone Blocks do not have these issues
7. I updated the simple sidearms to the latest version, but these issues haven't been resolved and the recruitment button has disappeared.
8.If you only include Mixed Stone Blocks and simple sidearms, no error will occur.

I was able to explore this far, but I can't guess because there is no clue from here.
For the time being I show an error message.
Perhaps there is something to know.

I'll pull out the mods one by one, looking for which mod is in conflict.
< >
Showing 1-2 of 2 comments
祁连遥 30 Aug, 2020 @ 11:55pm 
Additional explanation

1.If you start with a new save, you get an error, but no harm. You can play normally.

2.August 18 13:42 version is fine

3.If you include only Mixed Stone Blocks and simple sidearms, there will be no error when starting the game, but I have not tried what happens when actually playing
Last edited by 祁连遥; 31 Aug, 2020 @ 12:05am
The Nerd Wonder  [developer] 2 Sep, 2020 @ 7:04pm 
This should be fixed with v1.3
< >
Showing 1-2 of 2 comments
Per page: 1530 50