RimWorld

RimWorld

ToolkitUtils
Tämä keskustelu on lukittu
Issue with Kisalfar and Fressalfar race
Getting the following error spammed when adding this particular race:
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2490255045&searchtext=


Exception filling window for SirRandoo.ToolkitUtils.Windows.PawnKindConfigDialog: System.NullReferenceException: Object reference not set to an instance of an object
at SirRandoo.ToolkitUtils.Models.PawnKindItem+<>c.<get_ColonistKindDef>b__9_0 (Verse.PawnKindDef k) [0x00000] in <f3907d26bcb648598819ca0bd3676126>:0
at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate, System.Boolean& found) [0x0003f] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Enumerable.FirstOrDefault[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at SirRandoo.ToolkitUtils.Models.PawnKindItem.get_ColonistKindDef () [0x00006] in <f3907d26bcb648598819ca0bd3676126>:0
at SirRandoo.ToolkitUtils.Windows.PawnKindConfigDialog.DrawKindItem (UnityEngine.Rect nameRect, SirRandoo.ToolkitUtils.Models.PawnKindItem item, UnityEngine.Rect stateRect, UnityEngine.Rect priceRect, UnityEngine.Rect settingsRect) [0x000b5] in <f3907d26bcb648598819ca0bd3676126>:0
at SirRandoo.ToolkitUtils.Windows.PawnKindConfigDialog.DoWindowContents (UnityEngine.Rect inRect) [0x002c0] in <f3907d26bcb648598819ca0bd3676126>:0
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x00165] in <c36f9493c9844ddaa7fb5c788416098f>:0
Verse.Log:Verse.Log.Error_Patch2(String, Boolean)
Verse.Window:InnerWindowOnGUI(Int32)
UnityEngine.GUI:CallWindowDelegate(WindowFunction, Int32, Int32, GUISkin, Int32, Single, Single, GUIStyle)

Any idea what is going on?
Viimeisin muokkaaja on DragonKing; 17.6.2021 klo 5.12
< >
Näytetään 1-7 / 7 kommentista
randoo  [kehittäjä] 16.6.2021 klo 12.15 
Sorry for the late reply, but I'll look into the issue. For some context, Utils is struggling to get the colonist def for that particular mod's race(s), so it tries to default to any pawn def, but their both returning null.
🦖sirrandoo lähetti viestin:
Sorry for the late reply, but I'll look into the issue. For some context, Utils is struggling to get the colonist def for that particular mod's race(s), so it tries to default to any pawn def, but their both returning null.

A late reply is still a reply :)

Naturally, it should be fixed by the race's author, but thought I would still ask here.
randoo  [kehittäjä] 17.6.2021 klo 2.42 
Well, whatever that problem ended up being, accidentally fixed it along the way in v6. The fix should be out sometime this week. Just need a few more checks.
Cool, I also heard a little bird sing about the ability to specify material and quality when buying stuff in the store, which I am also really looking forward too :P

Thanks for checking out the issue, I will try and test it once the stable update is out.
randoo  [kehittäjä] 17.6.2021 klo 5.33 
Word travels fast lol.
Tested within my mod load order and seems to work now. Same goes for the "Vulpes" race from the same author :)
randoo  [kehittäjä] 24.6.2021 klo 8.58 
Awesome!
< >
Näytetään 1-7 / 7 kommentista
Sivua kohden: 1530 50