RimWorld

RimWorld

Babies and Children
This topic has been locked
MehZmeH Sep 2, 2021 @ 5:20am
Error on startup when used with Hospitality(?)
Hello, I am getting this error in my logs on startup. I think [BnC] is this mod? Here is the error excerpt

"[BnC] Adding CompProperties_Growing to races.
System.NullReferenceException: Object reference not set to an instance of an object
at Hospitality.DefsUtility+<>c.<CheckFactionDefs>b__2_1 (RimWorld.PawnGroupMaker pgm) [0x00000] in <908b0104ebb3469797903b8ee6664172>:0
at System.Collections.Generic.List`1[T].FindIndex (System.Int32 startIndex, System.Int32 count, System.Predicate`1[T] match) [0x0003b] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Collections.Generic.List`1[T].FindIndex (System.Predicate`1[T] match) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at Verse.GenCollection.Any[T] (System.Collections.Generic.List`1[T] list, System.Predicate`1[T] predicate) [0x00000] in <d243303f714d4dc48680ccaecd2f594e>:0
at Hospitality.DefsUtility.CheckFactionDefs () [0x00042] in <908b0104ebb3469797903b8ee6664172>:0
at Hospitality.DefsUtility.CheckForInvalidDefs () [0x00005] in <908b0104ebb3469797903b8ee6664172>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)"

Here is link to actual log file: https://gist.github.com/HugsLibRecordKeeper/83e9077c3616a6abc1b84cdb6ed6e0d2

Can provide mod list if required.
< >
Showing 1-3 of 3 comments
canefe  [developer] Sep 2, 2021 @ 5:42am 
Have you checked if the error was gone when this mod was removed?
MehZmeH Sep 2, 2021 @ 5:43am 
I looked at your github repo, when I remove the changes from your commit dbc559a2fb57a366b3ec18708ecb953d927e94d2, (the 'New Settings Fix' commit), the error goes away. I dunno if this fixes it, or if I am just hiding the problem.
canefe  [developer] Sep 2, 2021 @ 5:47am 
That's helpful, thanks. I know what causes it. I'll push an update.
< >
Showing 1-3 of 3 comments
Per page: 1530 50