RimWorld

RimWorld

A Rim Reborn - Core
Pawns not generating with heads/torsos
Hi! I'm having trouble with these races, I'm not sure if its a HAR issue or a Rim Reborn issue. When they generate sometimes they will be missing the head and sometimes they will be missing their torso. It happens to all the races every time they're generated.

On start up:

Textures were not found for one or more extended graphics for ARR_AuRaRaen Addons: ARimReborn/Pawn/AuRa/Addons/Horns/Male_Left
Textures were not found for one or more extended graphics for ARR_AuRaRaen Addons: ARimReborn/Pawn/AuRa/Addons/Horns/Male_Right
Textures were not found for one or more extended graphics for ARR_AuRaRaen Addons: ARimReborn/Pawn/AuRa/Addons/Tails/AuRa
Textures were not found for one or more extended graphics for ARR_ElezenWildwood Addons: ARimReborn/Pawn/Elezen/Addons/Ears/Elezen_Left
Textures were not found for one or more extended graphics for ARR_ElezenWildwood Addons: ARimReborn/Pawn/Elezen/Addons/Ears/Elezen_Right
Textures were not found for one or more extended graphics for ARR_LalafellPlainsfolk Addons: ARimReborn/Pawn/Lalafell/Addons/Ears/Lalafell_Left
Textures were not found for one or more extended graphics for ARR_LalafellPlainsfolk Addons: ARimReborn/Pawn/Lalafell/Addons/Ears/Lalafell_Right

And it does that for ever race.

And then when it tries to generate a new pawn with one of those races:

Exception setting up dynamic nodes for Zachary: System.DivideByZeroException: Attempted to divide by zero.
[Ref 2493979B]
at AlienRace.AlienPartGenerator+ExtendedGraphicTop.GetPath (Verse.Pawn pawn, System.Int32& sharedIndex, System.Nullable`1[T] savedIndex, System.String pathAppendix) [0x00050] in <e10b8893af8c444fbc8dff7e55c43f41>:0
at AlienRace.AlienPartGenerator+BodyAddon.GetGraphic (Verse.Pawn pawn, AlienRace.AlienPartGenerator+AlienComp alienComp, System.Int32& sharedIndex, System.Nullable`1[T] savedIndex, System.String preresolvedPath) [0x000e3] in <e10b8893af8c444fbc8dff7e55c43f41>:0
at AlienRace.AlienPartGenerator+AlienComp.RegenerateAddonGraphic (AlienRace.AlienPawnRenderNodeProperties_BodyAddon addonProps, System.Int32 addonIndex, System.Int32& sharedIndex, System.Boolean force) [0x000d5] in <e10b8893af8c444fbc8dff7e55c43f41>:0
at AlienRace.AlienPartGenerator+AlienComp.CompRenderNodes () [0x001bc] in <e10b8893af8c444fbc8dff7e55c43f41>:0
at Verse.PawnRenderTree.SetupDynamicNodes () [0x0004a] in <69945a8ed6c540cf90b578de735e0605>:0
at Verse.PawnRenderTree.TrySetupGraphIfNeeded () [0x0009a] in <69945a8ed6c540cf90b578de735e0605>:0
- PREFIX rimworld.erdelf.alien_race.main: Void AlienRace.AlienRenderTreePatches:TrySetupGraphIfNeededPrefix(PawnRenderTree __instance)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch5 (string)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.PawnRenderTree.TrySetupGraphIfNeeded_Patch1 (Verse.PawnRenderTree)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.PawnRenderTree.EnsureInitialized_Patch1 (Verse.PawnRenderTree,Verse.PawnRenderFlags)
Verse.PawnRenderer:EnsureGraphicsInitialized ()
g:b (Verse.Pawn)
g:a (Verse.Pawn,bool)
g:c (Verse.Pawn)
CharacterEditor.CEditor/b:f ()
CharacterEditor.CEditor:a (Verse.Pawn)
a3:a (Verse.Pawn,t)
CharacterEditor.RaceTool:ChangeRace (Verse.Pawn,Verse.PawnKindDef,bool)
j:b ()
ba:b (UnityEngine.Rect,string,System.Action,string)
ai:b (Verse.Window,System.Action)
j:DoWindowContents (UnityEngine.Rect)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Window.InnerWindowOnGUI_Patch0 (Verse.Window,int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)

That is with Character Editor, it does the same thing with Prepared Carefully except the bottom half of the stack trace is a Prepared Carefully error instead.

This bug happens in game to when the pawn generator tries to generate a pawn with one of these races.

I also sometimes get a Biotech error while trying to generate a pawn of one of these races. —— "Xenotypes is a Biotech-specific game system. If you want to use this code please check ModLister.BiotechInstalled before calling it."

I tried uninstalling all the mods, deleting the files from workshop folder, and redownloading them. Same thing happens.

I tried disabling animation mods like Yayo Animations. I don't think I have any other mods that would interact with HAR races or their textures.

Any ideas on how I can fix it?

EDIT: I figured out that BetterLoading was causing the error. Removing allows the mod to load texture properly. I still get a Xenotype error in the console every time a pawn is generated but the mod still works.
Last edited by Jayden; 26 Feb @ 1:31pm