RimWorld

RimWorld

Humanoid Alien Races
This topic has been locked
Malahite Nov 23, 2019 @ 8:36am
Bug - Exception drawing Ceti: System.NullReferenceException: Object reference not set to an instance of an object
HugsLib log here:
https://gist.github.com/HugsLibRecordKeeper/6e9a90da98acedd56a9b88336a79617d

Getting a strange error upon every new save with any alien race using Humanoid Alien Races 2.0;

Upon starting a new game and attempting to spawn in a colonist using devtools, I get the following errors:

RandomElementByWeight with totalWeight=0 - use TryRandomElementByWeight.

Exception drawing Ceti: System.NullReferenceException: Object reference not set to an instance of an object
at (wrapper dynamic-method) Verse.PawnGraphicSet.ResolveAllGraphics_Patch1 (object) <0x0032c>

Exception drawing Ceti: System.NullReferenceException: Object reference not set to an instance of an object
at Verse.PawnGraphicSet.HairMatAt (Verse.Rot4) <0x0001e>

The last of which is continuously spammed into the error log while the pawn is currently rendered
And prevent any sort of hair from appearing on the newly spawned human colonist

This not only occurs upon attempts to spawn in a colonist using devtools, but also on the "Wild man wanders in" incident as well.
It does not however seem to affect trader caravans.

No clue what is causing this but given it affects pawns spawned in via the wildman incident it is a bit concerning.
< >
Showing 1-3 of 3 comments
erdelf  [developer] Nov 24, 2019 @ 3:23am 
While that is interesting, alien race does not modify the rendering of humans, especially not in the section of code marked in the log.
Malahite Nov 24, 2019 @ 5:23pm 
Well I'm not sure what is causing it then, as I am only getting the error with alien race mods
Malahite Nov 24, 2019 @ 8:59pm 
As far as I am aware it is not an issue stemming from hugslib either, I get this error even just running core, hugslib, humanoid alien races and *any* alien race mod, though I'll ask around if its something with hugslib as well.
< >
Showing 1-3 of 3 comments
Per page: 1530 50