边缘世界 RimWorld

边缘世界 RimWorld

Humanoid Alien Races
此主题已被锁定
Malahite 2019 年 11 月 23 日 上午 8:36
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.
< >
正在显示第 1 - 3 条,共 3 条留言
erdelf  [开发者] 2019 年 11 月 24 日 上午 3:23 
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 2019 年 11 月 24 日 下午 5:23 
Well I'm not sure what is causing it then, as I am only getting the error with alien race mods
Malahite 2019 年 11 月 24 日 下午 8:59 
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.
< >
正在显示第 1 - 3 条,共 3 条留言
每页显示数: 1530 50