RimWorld

RimWorld

Blueprints
FullGreaM Apr 29, 2023 @ 5:35am
Blueprints doesn't work with Medieval Overhaul.
Hello, where I'm trying create a schema with two and more objects from mod Medieval Overhaul I give this errors:
Exception in UIRootUpdate: System.InvalidCastException: Specified cast is not valid.
at Blueprints.BuildableInfo.DrawGhost (Verse.IntVec3 origin) [0x000b9] in <033d2849ebeb4b36831829ebf436a254>:0
at Blueprints.Blueprint.DrawGhost (Verse.IntVec3 origin) [0x00015] in <033d2849ebeb4b36831829ebf436a254>:0
at Blueprints.Designator_Blueprint.SelectedUpdate () [0x00025] in <033d2849ebeb4b36831829ebf436a254>:0
at Verse.DesignatorManager.DesignatorManagerUpdate () [0x00013] in <34fc1196cf4843f18a110321399762b2>:0
at RimWorld.MapInterface.MapInterfaceUpdate () [0x00027] in <34fc1196cf4843f18a110321399762b2>:0
at (wrapper dynamic-method) RimWorld.UIRoot_Play.RimWorld.UIRoot_Play.UIRootUpdate_Patch1(RimWorld.UIRoot_Play)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch3 (string)
(wrapper dynamic-method) RimWorld.UIRoot_Play:RimWorld.UIRoot_Play.UIRootUpdate_Patch1 (RimWorld.UIRoot_Play)
(wrapper dynamic-method) Verse.Root:Verse.Root.Update_Patch1 (Verse.Root)
Verse.Root_Play:Update ()

Exception filling window for Verse.ImmediateWindow: System.NullReferenceException: Object reference not set to an instance of an object
at Verse.GenText.TruncateHeight (System.String str, System.Single width, System.Single height, System.Collections.Generic.Dictionary`2[TKey,TValue] cache) [0x00029] in <34fc1196cf4843f18a110321399762b2>:0
at RimWorld.ArchitectCategoryTab+<>c__DisplayClass22_0.<DoInfoBox>b__0 () [0x000df] in <34fc1196cf4843f18a110321399762b2>:0
at Verse.ImmediateWindow.DoWindowContents (UnityEngine.Rect inRect) [0x00000] in <34fc1196cf4843f18a110321399762b2>:0
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001d3] in <34fc1196cf4843f18a110321399762b2>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch3 (string)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)

Got ThingsListAt out of bounds: (-1, 0, 35)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch3 (string)
Verse.Log:ErrorOnce (string,int)
Verse.ThingGrid:ThingsListAt (Verse.IntVec3)
Verse.GridsUtility:GetThingList (Verse.IntVec3,Verse.Map)
DankPyon.HarmonyInstance/GenConstruct_CanPlaceBlueprintOver_Patch:Postfix (Verse.AcceptanceReport&,Verse.BuildableDef,Verse.IntVec3,Verse.Rot4,Verse.Map,bool,Verse.Thing,Verse.Thing,Verse.ThingDef)
(wrapper dynamic-method) RimWorld.GenConstruct:RimWorld.GenConstruct.CanPlaceBlueprintAt_Patch1 (Verse.BuildableDef,Verse.IntVec3,Verse.Rot4,Verse.Map,bool,Verse.Thing,Verse.Thing,Verse.ThingDef)
RimWorld.Designator_Build:CanDesignateCell (Verse.IntVec3)
Blueprints.BuildableInfo:CanPlace (Verse.IntVec3)
Blueprints.BuildableInfo:DrawGhost (Verse.IntVec3)
Blueprints.Blueprint:DrawGhost (Verse.IntVec3)
Blueprints.Designator_Blueprint:SelectedUpdate ()
Verse.DesignatorManager:DesignatorManagerUpdate ()
RimWorld.MapInterface:MapInterfaceUpdate ()
(wrapper dynamic-method) RimWorld.UIRoot_Play:RimWorld.UIRoot_Play.UIRootUpdate_Patch1 (RimWorld.UIRoot_Play)
(wrapper dynamic-method) Verse.Root:Verse.Root.Update_Patch1 (Verse.Root)
Verse.Root_Play:Update ()

How I can fix it? Is exists a compatibility patch?
Last edited by FullGreaM; Apr 29, 2023 @ 5:38am