不管是选中小人还是动物都会弹窗报错,排序把rimhud放到最前面和最后面都不行
这是报错的文本,求大佬帮忙看看
[[RimHUD Auto-deactivation report]]
Index was outside the bounds of the array.
Stacktrace:
[Assembly-CSharp: Index was outside the bounds of the array.]
at Verse.GenText.CapitalizeFirst (System.String str) [0x0005f] in <032d0428bd3b4871b44e7cd832eb5c58>:0
at RimHUD.Data.Models.PawnModel.GetRelationKindAndFaction () [0x00075] in <acbf51ee5bf74fd3add6ab50615e75fe>:0
at RimHUD.Data.Models.PawnModel.get_RelationKindAndFaction () [0x00000] in <acbf51ee5bf74fd3add6ab50615e75fe>:0
at RimHUD.Data.Models.HudModel+<>c.<.cctor>b__35_22 (RimHUD.Data.Models.PawnModel model) [0x00000] in <acbf51ee5bf74fd3add6ab50615e75fe>:0
at RimHUD.Data.Models.HudModel.GetWidget (RimHUD.Data.Models.PawnModel model, System.String id, System.String defName) [0x00075] in <acbf51ee5bf74fd3add6ab50615e75fe>:0
at RimHUD.Interface.HUD.HudElement.Build (RimHUD.Data.Models.PawnModel model) [0x0000d] in <acbf51ee5bf74fd3add6ab50615e75fe>:0
at RimHUD.Interface.HUD.HudRow.Prepare (RimHUD.Data.Models.PawnModel model) [0x00034] in <acbf51ee5bf74fd3add6ab50615e75fe>:0
at RimHUD.Interface.HUD.HudPanel+<>c__DisplayClass13_0.<Prepare>b__0 (RimHUD.Interface.HUD.HudRow row) [0x00000] in <acbf51ee5bf74fd3add6ab50615e75fe>:0
at System.Linq.Enumerable+SelectArrayIterator`2[TSource,TResult].ToArray () [0x00012] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at RimHUD.Interface.HUD.HudPanel.Prepare (RimHUD.Data.Models.PawnModel model) [0x00042] in <acbf51ee5bf74fd3add6ab50615e75fe>:0
at RimHUD.Interface.HUD.HudHStack+<>c__DisplayClass5_0.<Prepare>b__0 (RimHUD.Interface.HUD.HudContainer container) [0x00000] in <acbf51ee5bf74fd3add6ab50615e75fe>:0
at System.Linq.Enumerable+SelectArrayIterator`2[TSource,TResult].MoveNext () [0x0003a] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Enumerable.Max (System.Collections.Generic.IEnumerable`1[T] source) [0x00015] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at RimHUD.Interface.HUD.HudHStack.Prepare (RimHUD.Data.Models.PawnModel model) [0x00041] in <acbf51ee5bf74fd3add6ab50615e75fe>:0
at RimHUD.Interface.HUD.HudVStack.Prepare (RimHUD.Data.Models.PawnModel model) [0x00032] in <acbf51ee5bf74fd3add6ab50615e75fe>:0
at RimHUD.Interface.HUD.HudLayout.Draw (UnityEngine.Rect rect, RimHUD.Data.Models.PawnModel model) [0x0004c] in <acbf51ee5bf74fd3add6ab50615e75fe>:0
这是报错的文本,求大佬帮忙看看
[[RimHUD Auto-deactivation report]]
Index was outside the bounds of the array.
Stacktrace:
[Assembly-CSharp: Index was outside the bounds of the array.]
at Verse.GenText.CapitalizeFirst (System.String str) [0x0005f] in <032d0428bd3b4871b44e7cd832eb5c58>:0
at RimHUD.Data.Models.PawnModel.GetRelationKindAndFaction () [0x00075] in <acbf51ee5bf74fd3add6ab50615e75fe>:0
at RimHUD.Data.Models.PawnModel.get_RelationKindAndFaction () [0x00000] in <acbf51ee5bf74fd3add6ab50615e75fe>:0
at RimHUD.Data.Models.HudModel+<>c.<.cctor>b__35_22 (RimHUD.Data.Models.PawnModel model) [0x00000] in <acbf51ee5bf74fd3add6ab50615e75fe>:0
at RimHUD.Data.Models.HudModel.GetWidget (RimHUD.Data.Models.PawnModel model, System.String id, System.String defName) [0x00075] in <acbf51ee5bf74fd3add6ab50615e75fe>:0
at RimHUD.Interface.HUD.HudElement.Build (RimHUD.Data.Models.PawnModel model) [0x0000d] in <acbf51ee5bf74fd3add6ab50615e75fe>:0
at RimHUD.Interface.HUD.HudRow.Prepare (RimHUD.Data.Models.PawnModel model) [0x00034] in <acbf51ee5bf74fd3add6ab50615e75fe>:0
at RimHUD.Interface.HUD.HudPanel+<>c__DisplayClass13_0.<Prepare>b__0 (RimHUD.Interface.HUD.HudRow row) [0x00000] in <acbf51ee5bf74fd3add6ab50615e75fe>:0
at System.Linq.Enumerable+SelectArrayIterator`2[TSource,TResult].ToArray () [0x00012] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at RimHUD.Interface.HUD.HudPanel.Prepare (RimHUD.Data.Models.PawnModel model) [0x00042] in <acbf51ee5bf74fd3add6ab50615e75fe>:0
at RimHUD.Interface.HUD.HudHStack+<>c__DisplayClass5_0.<Prepare>b__0 (RimHUD.Interface.HUD.HudContainer container) [0x00000] in <acbf51ee5bf74fd3add6ab50615e75fe>:0
at System.Linq.Enumerable+SelectArrayIterator`2[TSource,TResult].MoveNext () [0x0003a] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Enumerable.Max (System.Collections.Generic.IEnumerable`1[T] source) [0x00015] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at RimHUD.Interface.HUD.HudHStack.Prepare (RimHUD.Data.Models.PawnModel model) [0x00041] in <acbf51ee5bf74fd3add6ab50615e75fe>:0
at RimHUD.Interface.HUD.HudVStack.Prepare (RimHUD.Data.Models.PawnModel model) [0x00032] in <acbf51ee5bf74fd3add6ab50615e75fe>:0
at RimHUD.Interface.HUD.HudLayout.Draw (UnityEngine.Rect rect, RimHUD.Data.Models.PawnModel model) [0x0004c] in <acbf51ee5bf74fd3add6ab50615e75fe>:0