RimWorld

RimWorld

Vanilla Traits Expanded
Euphotic 17 May, 2022 @ 9:02pm
Bug with Animal Hater and bonded animals creating blank needs screen
Just started a new save with a lot of the vanilla expanded mods and I'm getting an issue with the needs tab for a pawn being blank. This pawn has the animal hater trait and also started with an animal bonded to her with her as its master. When set like that, the needs tab works fine, but when I swap the master of the bonded animal to anything other than her, the needs tab goes blank.

I checked the logs and found this, which I think is the cause of the error.

Exception ticking Sarai (at (92, 0, 220)). Suppressing further errors. Exception: System.InvalidCastException: Specified cast is not valid. at RimWorld.Thought_NotBondedAnimalMaster.get_BaseMoodOffset () [0x00016] in <99518a644a3e4a7ea3fde566568df84a>:0 at (wrapper dynamic-method) RimWorld.Thought.RimWorld.Thought.MoodOffset_Patch1(RimWorld.Thought) at RimWorld.ThoughtHandler.MoodOffsetOfGroup (RimWorld.Thought group) [0x00041] in <99518a644a3e4a7ea3fde566568df84a>:0 at RimWorld.ThoughtHandler.TotalMoodOffset () [0x00022] in <99518a644a3e4a7ea3fde566568df84a>:0 at RimWorld.Need_Mood.get_CurInstantLevel () [0x00000] in <99518a644a3e4a7ea3fde566568df84a>:0 at RimWorld.Need_Seeker.NeedInterval () [0x00008] in <99518a644a3e4a7ea3fde566568df84a>:0 at (wrapper dynamic-method) RimWorld.Need_Mood.RimWorld.Need_Mood.NeedInterval_Patch1(RimWorld.Need_Mood) at RimWorld.Pawn_NeedsTracker.NeedsTrackerTick () [0x00022] in <99518a644a3e4a7ea3fde566568df84a>:0 at Verse.Pawn.Tick () [0x000fd] in <99518a644a3e4a7ea3fde566568df84a>:0 at Verse.TickList.Tick () [0x0015c] in <99518a644a3e4a7ea3fde566568df84a>:0 (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39) Exception filling tab RimWorld.ITab_Pawn_Needs: System.InvalidCastException: Specified cast is not valid. at RimWorld.Thought_NotBondedAnimalMaster.get_BaseMoodOffset () [0x00016] in <99518a644a3e4a7ea3fde566568df84a>:0 at (wrapper dynamic-method) RimWorld.Thought.RimWorld.Thought.MoodOffset_Patch1(RimWorld.Thought) at RimWorld.ThoughtHandler.MoodOffsetOfGroup (RimWorld.Thought group) [0x00041] in <99518a644a3e4a7ea3fde566568df84a>:0 at RimWorld.ThoughtHandler.TotalMoodOffset () [0x00022] in <99518a644a3e4a7ea3fde566568df84a>:0 at RimWorld.Need_Mood.get_CurInstantLevel () [0x00000] in <99518a644a3e4a7ea3fde566568df84a>:0 at RimWorld.Need.get_CurInstantLevelPercentage () [0x00000] in <99518a644a3e4a7ea3fde566568df84a>:0 at RimWorld.Need_Seeker.get_GUIChangeArrow () [0x0000f] in <99518a644a3e4a7ea3fde566568df84a>:0 at RimWorld.Need.DrawOnGUI (UnityEngine.Rect rect, System.Int32 maxThresholdMarkers, System.Single customMargin, System.Boolean drawArrows, System.Boolean doTooltip, System.Nullable`1[T] rectForTooltip) [0x001ff] in <99518a644a3e4a7ea3fde566568df84a>:0 at RimWorld.Need_Mood.DrawOnGUI (UnityEngine.Rect rect, System.Int32 maxThresholdMarkers, System.Single customMargin, System.Boolean drawArrows, System.Boolean doTooltip, System.Nullable`1[T] rectForTooltip) [0x0007e] in <99518a644a3e4a7ea3fde566568df84a>:0 at RimWorld.NeedsCardUtility.DoMoodAndThoughts (UnityEngine.Rect rect, Verse.Pawn pawn, UnityEngine.Vector2& thoughtScrollPosition) [0x00029] in <99518a644a3e4a7ea3fde566568df84a>:0 at RimWorld.NeedsCardUtility.DoNeedsMoodAndThoughts (UnityEngine.Rect rect, Verse.Pawn pawn, UnityEngine.Vector2& thoughtScrollPosition) [0x0005e] in <99518a644a3e4a7ea3fde566568df84a>:0 at RimWorld.ITab_Pawn_Needs.FillTab () [0x0002b] in <99518a644a3e4a7ea3fde566568df84a>:0 at Verse.InspectTabBase+<>c__DisplayClass14_0.<DoTabGUI>b__0 () [0x00039] in <99518a644a3e4a7ea3fde566568df84a>:0 (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39) GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced. (Filename: Line: 580) GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced. (Filename: Line: 580)


Mods listed below:
- brrainz.harmony - Ludeon.RimWorld - Fluffy.ModManager - UnlimitedHugs.HugsLib - VanillaExpanded.VanillaTraitsExpanded - UnlimitedHugs.AllowTool - avilmask.CommonSense - PureMJ.MjRimMods.WhileYouAreNearby - Uuugggg.ShareTheLoad - Uuugggg.SafelyHiddenAway - Uuugggg.ReplaceStuff - Mehni.PickUpAndHaul - Maaxar.NutrientPasteProduction - Mlie.PlasteelSurgery - wit.expandedroofing - syrchalis.setupcamp - m00nl1ght.GeologicalLandforms - UnlimitedHugs.MapReroll - m00nl1ght.MapPreview - hobtook.mortaraccuracy - SGC.quests - FrozenSnowFox.MoreQuests - Mlie.MoreGraphs - Aoba.CargoContainer - Uuugggg.FuelEconomy - Uuugggg.BuildFromInventory - falconne.BWM - leafzxg.ThrumboExtension - OskarPotocki.VanillaFactionsExpanded.Core - VanillaExpanded.VWE - VanillaExpanded.VAPPE - VanillaExpanded.VARME - VanillaExpanded.VEE - VanillaExpanded.VWEG - VanillaExpanded.VWEHW - VanillaExpanded.VWENL - VanillaExpanded.VWEQ - VanillaExpanded.VFECore - VanillaExpanded.VFEArchitect - VanillaExpanded.VFEArt - VanillaExpanded.VFEFarming - VanillaExpanded.VFEMedical - VanillaExpanded.VFEPower - VanillaExpanded.VFEProduction - VanillaExpanded.VFESecurity - VanillaExpanded.VFESpacer - VanillaExpanded.VAEAccessories - VanillaExpanded.VCEF - VanillaExpanded.VPlantsE - VanillaExpanded.VPlantsEMore - OskarPotocki.VFE.Mechanoid - OskarPotocki.VanillaFactionsExpanded.MedievalModule - Murmur.WallLight - FrozenSnowFox.AlwaysRearmTurrets - Oblitus.MyLittlePlanet - Cabbage.RimCities - Albion.SparklingWorlds.Full - smashphil.neceros.srtsexpanded - smashphil.loadinginprogress - FluffyKittens.BillCategories

I know I could probably disable the trait and it would be fine, but I figured I'd share in hopes that it gets fixed, lemme know if anyone else has this same issue or knows a way to fix it, thanks!
Last edited by Euphotic; 17 May, 2022 @ 9:03pm
< >
Showing 1-1 of 1 comments
Moscore 6 May, 2024 @ 7:33pm 
I'm getting this bug as well, but my pawn developed the bond thru training the dog before I caught that she hates animals. I'll disable the trait but I figured I'd report that this is still an issue and if I can be annoying by necroing a dead thread that's fun too lol.
< >
Showing 1-1 of 1 comments
Per page: 1530 50