RimWorld

RimWorld

RimThunder - Core
Red Errors and being unable to build any RimThunder vehicle
These are the red errors I'm getting.

Exception loading def from file Buildings_Production.xml: System.ArgumentException: Could not find type named VanillaFurnitureExpanded.CompProperties_RandomBuildingGraphic from node <li MayRequire="oskarpotocki.vanillafactionsexpanded.core" Class="VanillaFurnitureExpanded.CompProperties_RandomBuildingGraphic"><randomGraphics><li>Buildings/AssemblyBench/building</li><li>Buildings/AssemblyBench/building_A</li></randomGraphics></li> Parameter name: node [Ref 132B140D] at Verse.DirectXmlToObjectNew.ResolveTypeForNode (System.Type defaultType, System.Xml.XmlNode node) [0x0005a] in <c125acc92a7b42c2b222b851b6278877>:0 (wrapper dynamic-method) Verse.DirectXmlToObjectNew+DummyTypeToHoldDynamicMethods.ParseAndSetListField_Verse_CompProperties(object,System.Reflection.FieldInfo,System.Xml.XmlNode,System.Type) (wrapper dynamic-method) Verse.DirectXmlToObjectNew+DummyTypeToHoldDynamicMethods.ParseAndReturnDef_Verse_ThingDef(int,int,System.Xml.XmlNode,System.Type) at Verse.DirectXmlToObjectNew.DefFromNodeNew (System.Xml.XmlNode node, Verse.LoadableXmlAsset loadingAsset) [0x000dd] in <c125acc92a7b42c2b222b851b6278877>:0 UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string) Verse.DirectXmlToObjectNew:DefFromNodeNew (System.Xml.XmlNode,Verse.LoadableXmlAsset) Verse.LoadedModManager:ParseAndProcessXML (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 ()

Could not resolve cross-reference to Verse.ThingDef named RT_AssemblyBench (wanter=recipeUsers) UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string) Verse.DirectXmlCrossRefLoader:TryResolveDef<Verse.ThingDef> (string,Verse.FailMode,object) Verse.DirectXmlCrossRefLoader/WantedRefForList`1<Verse.ThingDef>:TryResolve (Verse.FailMode) Verse.DirectXmlCrossRefLoader/<>c__DisplayClass16_0:<ResolveAllWantedCrossReferences>b__0 (Verse.DirectXmlCrossRefLoader/WantedRef) Verse.GenThreading/<>c__DisplayClass7_1`1<Verse.DirectXmlCrossRefLoader/WantedRef>:<ParallelForEach>b__0 (object) System.Threading.QueueUserWorkItemCallback:WaitCallback_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.QueueUserWorkItemCallback:System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () System.Threading.ThreadPoolWorkQueue:Dispatch () System.Threading._ThreadPoolWaitCallback:PerformWaitCallback ()

Could not resolve cross-reference to Verse.ThingDef named RT_AssemblyBench (wanter=fixedBillGiverDefs) UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string) Verse.DirectXmlCrossRefLoader:TryResolveDef<Verse.ThingDef> (string,Verse.FailMode,object) Verse.DirectXmlCrossRefLoader/WantedRefForList`1<Verse.ThingDef>:TryResolve (Verse.FailMode) Verse.DirectXmlCrossRefLoader/<>c__DisplayClass16_0:<ResolveAllWantedCrossReferences>b__0 (Verse.DirectXmlCrossRefLoader/WantedRef) Verse.GenThreading/<>c__DisplayClass7_1`1<Verse.DirectXmlCrossRefLoader/WantedRef>:<ParallelForEach>b__0 (object) System.Threading.QueueUserWorkItemCallback:WaitCallback_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.QueueUserWorkItemCallback:System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () System.Threading.ThreadPoolWorkQueue:Dispatch () System.Threading._ThreadPoolWaitCallback:PerformWaitCallback ()

Error in static constructor of Motorization.HarmonyMain: System.TypeInitializationException: The type initializer for 'Motorization.HarmonyMain' threw an exception. ---> HarmonyLib.HarmonyException: Patching exception in method null ---> System.ArgumentException: Undefined target method for patch method static System.Void Motorization.Patch_VehiclePawn_GetExtraFloatMenuOptionsFor::Postfix(Vehicles.VehiclePawn __instance, System.Collections.Generic.IEnumerable`1& __result, Verse.IntVec3 sq) [Ref 9F468612] at HarmonyLib.PatchClassProcessor.PatchWithAttributes (System.Reflection.MethodBase& lastOriginal, System.Boolean unpatch) [0x00047] in <8124cc12bdf242eab0a5f7e7edecf387>:0 at HarmonyLib.PatchClassProcessor.Patch () [0x0006e] in <8124cc12bdf242eab0a5f7e7edecf387>:0 --- End of inner exception stack trace --- [Ref D8C93D22] at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x00154] in <8124cc12bdf242eab0a5f7e7edecf387>:0 at HarmonyLib.PatchClassProcessor.Patch () [0x000a0] in <8124cc12bdf242eab0a5f7e7edecf387>:0 at HarmonyLib.Harmony.<PatchAll>b__10_0 (System.Type type) [0x00007] in <8124cc12bdf242eab0a5f7e7edecf387>:0 at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <8124cc12bdf242eab0a5f7e7edecf387>:0 at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <8124cc12bdf242eab0a5f7e7edecf387>:0 <0x416cfe10 + 0x0002b> <unknown method> --- End of inner exception stack trace --- [Ref F1905668] (wrapper managed-to-native) System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(intptr) at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor (System.RuntimeTypeHandle type) [0x0002a] in <e3b07672ffbd43c1838e1ebbe94cbdf5>:0 at Verse.StaticConstructorOnStartupUtility.CallAll () [0x00025] in <c125acc92a7b42c2b222b851b6278877>:0 UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string) Verse.StaticConstructorOnStartupUtility:CallAll () Verse.PlayDataLoader/<>c:<DoPlayLoad>b__4_4 () Verse.LongEventHandler:ExecuteToExecuteWhenFinished () Verse.LongEventHandler:UpdateCurrentAsynchronousEvent () Verse.LongEventHandler:LongEventsUpdate (bool&) Verse.Root:Update () Verse.Root_Entry:Update ()

This is the error I'm getting every time I open the Vehicles tab. It just infinetly spams the log and I'm unable to click on any vehicle.

Root level exception in OnGUI(): System.NullReferenceException: Object reference not set to an instance of an object [Ref 4273CBB2] at Vehicles.VehicleTurret.ResolveGraphics (Vehicles.VehiclePawn vehicle, System.Boolean forceRegen) [0x00000] in D:\SteamLibrary\steamapps\common\RimWorld\Mods\Vehicles\Source\Vehicles\Turrets\Turret\VehicleTurret_Rendering.cs:718 at Vehicles.VehicleTurret.get_GraphicData () [0x00008] in D:\SteamLibrary\steamapps\common\RimWorld\Mods\Vehicles\Source\Vehicles\Turrets\Turret\VehicleTurret_Rendering.cs:220 at Vehicles.VehicleTurret.get_Texture () [0x00000] in D:\SteamLibrary\steamapps\common\RimWorld\Mods\Vehicles\Source\Vehicles\Turrets\Turret\VehicleTurret_Rendering.cs:195 at Vehicles.VehicleTurret.Vehicles.Rendering.IBlitTarget.TextureSize (Vehicles.Rendering.BlitRequest& request) [0x00000] in D:\SteamLibrary\steamapps\common\RimWorld\Mods\Vehicles\Source\Vehicles\Turrets\Turret\VehicleTurret_Rendering.cs:561 at Vehicles.Rendering.VehicleGui.GetOptimalTextureSize (UnityEngine.Rect rect, Vehicles.Rendering.BlitRequest& request, System.Single oversampleFactor) [0x0001f] in D:\SteamLibrary\steamapps\common\RimWorld\Mods\Vehicles\Source\Vehicles\Utility\Helpers\Rendering\VehicleGui.cs:36 at Vehicles.Rendering.VehicleGui.CreateRenderTextureBuffer (UnityEngine.Rect rect, Vehicles.Rendering.BlitRequest& request, System.Single oversampleFactor) [0x00000] in D:\SteamLibrary\steamapps\common\RimWorld\Mods\Vehicles\Source\Vehicles\Utility\Helpers\Rendering\VehicleGui.cs:55 at Vehicles.Rendering.VehicleGui.GizmoOnGUIWithMaterial (Verse.Command command, UnityEngine.Rect rect, Verse.GizmoRenderParms parms, Vehicles.VehicleBuildDef buildDef) [0x0028d] in D:\SteamLibrary\steamapps\common\RimWorld\Mods\Vehicles\Source\Vehicles\Utility\Helpers\Rendering\VehicleGui.cs:346 at Vehicles.Patch_Gizmos.VehicleMaterialOnBuildGizmo (UnityEngine.Vector2 topLeft, System.Single maxWidth, Verse.BuildableDef ___entDef, Verse.GizmoResult& __result, RimWorld.Designator_Build __instance, Verse.GizmoRenderParms parms) [0x00013] in D:\SteamLibrary\steamapps\common\RimWorld\Mods\Vehicles\Source\Vehicles\Harmony\Patches\Patch_Gizmos.cs:264 at RimWorld.Designator_Build.GizmoOnGUI (UnityEngine.Vector2 topLeft, System.Single maxWidth, Verse.GizmoRenderParms parms) [0x00030] in <c125acc92a7b42c2b222b851b6278877>:0 - PREFIX SmashPhil.VehicleFramework: Boolean Vehicles.Patch_Gizmos:VehicleMaterialOnBuildGizmo(Vector2 topLeft, Single maxWidth, BuildableDef ___entDef, GizmoResult& __result, Designator_Build __instance, GizmoRenderParms parms) at Verse.GizmoGridDrawer.DrawGizmoGrid (System.Collections.Generic.IEnumerable`1[T] gizmos, System.Single startX, Verse.Gizmo& mouseoverGizmo, System.Func`2[T,TResult] customActivatorFunc, System.Func`2[T,TResult] highlightFunc, System.Func`2[T,TResult] lowlightFunc, System.Boolean multipleSelected) [0x0050d] in <c125acc92a7b42c2b222b851b6278877>:0 at RimWorld.ArchitectCategoryTab.DesignationTabOnGUI (Verse.Designator forceActivatedCommand) [0x0007a] in <c125acc92a7b42c2b222b851b6278877>:0 at RimWorld.MainTabWindow_Architect.ExtraOnGUI () [0x00010] in <c125acc92a7b42c2b222b851b6278877>:0 at Verse.WindowStack.WindowStackOnGUI () [0x00038] in <c125acc92a7b42c2b222b851b6278877>:0 at RimWorld.UIRoot_Play.UIRootOnGUI () [0x00083] in <c125acc92a7b42c2b222b851b6278877>:0 at Verse.Root.OnGUI () [0x00040] in <c125acc92a7b42c2b222b851b6278877>:0 UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string) Verse.Root:OnGUI ()

When selecting the Assembly gantry, it gives this error:

System.TypeLoadException: Could not resolve type with token 0100011d from typeref (expected class 'Vehicles.Graphic_RGB' in assembly 'Vehicles, Version=1.5.1.0, Culture=neutral, PublicKeyToken=null') [Ref 184CAC51] at System.Collections.Generic.List`1[T].AddEnumerable (System.Collections.Generic.IEnumerable`1[T] enumerable) [0x00059] in <e3b07672ffbd43c1838e1ebbe94cbdf5>:0 at System.Collections.Generic.List`1[T].InsertRange (System.Int32 index, System.Collections.Generic.IEnumerable`1[T] collection) [0x000f4] in <e3b07672ffbd43c1838e1ebbe94cbdf5>:0 at System.Collections.Generic.List`1[T].AddRange (System.Collections.Generic.IEnumerable`1[T] collection) [0x00000] in <e3b07672ffbd43c1838e1ebbe94cbdf5>:0 at Verse.GizmoGridDrawer.DrawGizmoGridFor (System.Collections.Generic.IEnumerable`1[T] selectedObjects, Verse.Gizmo& mouseoverGizmo) [0x000e0] in <c125acc92a7b42c2b222b851b6278877>:0 currentSelectable: null UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string) Verse.Log:ErrorOnce (string,int) Verse.GizmoGridDrawer:DrawGizmoGridFor (System.Collections.Generic.IEnumerable`1<object>,Verse.Gizmo&) RimWorld.MapGizmoUtility:MapUIOnGUI () RimWorld.MapInterface:MapInterfaceOnGUI_BeforeMainTabs () RimWorld.UIRoot_Play:UIRootOnGUI () Verse.Root:OnGUI ()

And like other people have said in the comments, when building a vehicle with the Assembly gantry, the vehicle do not spawn after finishing being build.