RimWorld

RimWorld

Remedies
sleepyh34d 21 Oct, 2022 @ 12:51pm
Biotech Xenotype Error
I got an error while running this mod once I scrolled to the bottom of the "Create Xenotype" menu. There was a blank gene to do with addition.

Could not load UnityEngine.Texture2D at UI/Icons/Genes/Chemicals/FF_Painkiller/AddictionResistant in any active mod or in base resources. UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch1 (string) Verse.ContentFinder`1<UnityEngine.Texture2D>:Get (string,bool) Verse.GeneDef:get_Icon () Verse.Widgets:DefIcon (UnityEngine.Rect,Verse.Def,Verse.ThingDef,single,Verse.ThingStyleDef,bool,System.Nullable`1<UnityEngine.Color>,UnityEngine.Material,System.Nullable`1<int>) RimWorld.GeneUIUtility:DrawGeneBasics (Verse.GeneDef,UnityEngine.Rect,RimWorld.GeneType,bool,bool,bool) RimWorld.GeneUIUtility:DrawGeneDef (Verse.GeneDef,UnityEngine.Rect,RimWorld.GeneType,string,bool,bool,bool) RimWorld.Dialog_CreateXenotype:DrawGene (Verse.GeneDef,bool,single&,single,single,UnityEngine.Rect,bool) RimWorld.Dialog_CreateXenotype:DrawSection (UnityEngine.Rect,System.Collections.Generic.List`1<Verse.GeneDef>,string,single&,single&,bool,UnityEngine.Rect,System.Nullable`1<bool>&) RimWorld.Dialog_CreateXenotype:DrawGenes (UnityEngine.Rect) RimWorld.GeneCreationDialogBase:DoWindowContents (UnityEngine.Rect) Verse.Window:InnerWindowOnGUI (int) UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle) Exception filling window for RimWorld.Dialog_CreateXenotype: System.NullReferenceException: Object reference not set to an instance of an object at Verse.Widgets.DrawTextureFitted (UnityEngine.Rect outerRect, UnityEngine.Texture tex, System.Single scale, UnityEngine.Material mat) [0x00000] in <a7d7c17c253e4b3abddb592871ee455b>:0 at Verse.Widgets.DefIcon (UnityEngine.Rect rect, Verse.Def def, Verse.ThingDef stuffDef, System.Single scale, Verse.ThingStyleDef thingStyleDef, System.Boolean drawPlaceholder, System.Nullable`1[T] color, UnityEngine.Material material, System.Nullable`1[T] graphicIndexOverride) [0x001c3] in <a7d7c17c253e4b3abddb592871ee455b>:0 at RimWorld.GeneUIUtility.DrawGeneBasics (Verse.GeneDef gene, UnityEngine.Rect geneRect, RimWorld.GeneType geneType, System.Boolean doBackground, System.Boolean clickable, System.Boolean overridden) [0x000dd] in <a7d7c17c253e4b3abddb592871ee455b>:0 at RimWorld.GeneUIUtility.DrawGeneDef (Verse.GeneDef gene, UnityEngine.Rect geneRect, RimWorld.GeneType geneType, System.String extraTooltip, System.Boolean doBackground, System.Boolean clickable, System.Boolean overridden) [0x0001c] in <a7d7c17c253e4b3abddb592871ee455b>:0 at RimWorld.Dialog_CreateXenotype.DrawGene (Verse.GeneDef geneDef, System.Boolean selectedSection, System.Single& curX, System.Single curY, System.Single packWidth, UnityEngine.Rect containingRect, System.Boolean isMatch) [0x0011c] in <a7d7c17c253e4b3abddb592871ee455b>:0 at RimWorld.Dialog_CreateXenotype.DrawSection (UnityEngine.Rect rect, System.Collections.Generic.List`1[T] genes, System.String label, System.Single& curY, System.Single& sectionHeight, System.Boolean adding, UnityEngine.Rect containingRect, System.Nullable`1[System.Boolean]& collapsed) [0x0059b] in <a7d7c17c253e4b3abddb592871ee455b>:0 at RimWorld.Dialog_CreateXenotype.DrawGenes (UnityEngine.Rect rect) [0x00250] in <a7d7c17c253e4b3abddb592871ee455b>:0 at RimWorld.GeneCreationDialogBase.DoWindowContents (UnityEngine.Rect rect) [0x000fa] in <a7d7c17c253e4b3abddb592871ee455b>:0 at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001d3] in <a7d7c17c253e4b3abddb592871ee455b>:0 UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch1 (string) Verse.Window:InnerWindowOnGUI (int) UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle) Mouse position stack is not empty. There were more calls to BeginScrollView than EndScrollView. Fixing. UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch1 (string) Verse.Widgets:EnsureMousePositionStackEmpty () Verse.Root:Update () Verse.Root_Entry:Update ()