RimWorld

RimWorld

RimHUD
 This topic has been pinned, so it's probably important
Jaxe  [developer] 20 Jul @ 3:31am
Bug reports
Post bug reports here.
If you get an auto-deactivation error, please copy to clipboard and paste the full error here.

Reports without some additional context or steps to reproduce will be removed to minimize clutter.

Please note: As a general rule, if the error is linked to another mod and that mod is newer or has fewer subscribers than RimHUD, please consider reporting the issue to that mod first.
< >
Showing 1-12 of 12 comments
USBMOON 30 Jul @ 10:49am 
Hello, I'm not sure I should write to you. But with the CE mod, your mod has stopped picking up the armor of allied mechanoids. It's not hard to reproduce :) meow
yahryak 1 Aug @ 12:44am 
[[RimHUD v1.16.1 Auto-deactivation report]]
Exception has been thrown by the target of an invocation.
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

Trace:
[mscorlib] Exception has been thrown by the target of an invocation.
[Ref F3704F56]
at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters)
at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic)
at System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark)
at System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark)
at System.Activator.CreateInstance[T] ()
at RimHUD.Interface.Hud.HudWidget+<>c__16`1[T].<FromModel>b__16_0 (RimHUD.Interface.Hud.HudArgs args)
at RimHUD.Interface.Hud.HudWidget.Build (RimHUD.Interface.Hud.HudArgs args)
at RimHUD.Interface.Hud.HudContent.GetWidget (System.String id, RimHUD.Interface.Hud.HudArgs args)
at RimHUD.Interface.Hud.Layers.WidgetLayer.Build ()
at RimHUD.Interface.Hud.Layers.RowLayer.Prepare ()
at RimHUD.Interface.Hud.Layers.PanelLayer+<>c.<Prepare>b__11_0 (RimHUD.Interface.Hud.Layers.RowLayer row)
at System.Linq.Enumerable+SelectArrayIterator`2[TSource,TResult].ToArray ()
at System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable`1[T] source)
at RimHUD.Interface.Hud.Layers.PanelLayer.Prepare ()
at RimHUD.Interface.Hud.Layers.HStackLayer+<>c.<Prepare>b__4_0 (RimHUD.Interface.Hud.Layers.BaseLayer container)
at System.Linq.Enumerable+SelectArrayIterator`2[TSource,TResult].MoveNext ()
at System.Linq.Enumerable.Max (System.Collections.Generic.IEnumerable`1[T] source)
at RimHUD.Interface.Hud.Layers.HStackLayer.Prepare ()
at RimHUD.Interface.Hud.Layers.VStackLayer+<>c.<Prepare>b__5_0 (RimHUD.Interface.Hud.Layers.BaseLayer container)
at System.Linq.Enumerable+SelectArrayIterator`2[TSource,TResult].MoveNext ()
at RimHUD.Interface.Hud.Layers.VStackLayer.Prepare ()
at RimHUD.Interface.Hud.Layers.LayoutLayer.Draw (UnityEngine.Rect rect)

Idk, why it happened. I was tried to open rimhud on my pawn

Note: it happens only if i use rimhud on my own pawns
Last edited by yahryak; 1 Aug @ 12:45am
Tase 1 Aug @ 11:36am 
RimHUD v1.17

Deleting presets doesnt work

Preset manager screen shows "Are you sure you want to delete the preset 'RimHUD.Interface.Hud.Layout.LayoutPreset'" (which isnt the name of the preset), pressing yes closes the dialog, but the preset stays visible and the preset file is still present

No logs are printed
Jaxe  [developer] 2 Aug @ 1:09am 
@Tase: Should be fixed now in v1.17.1

@yahryak: That's a very old version you're using - latest version is v1.17.1

@USBMOON: CE is probably the most well known mod for compatibility issues and my general policy is I don't work on compatibility unless the other mod has more subscribers or is older than mine. Now in this case, CE *is* older I will grant that, however as I'm out of my depth with its mechanics, I think it would be best if their mod authors let me know what they need me to do on my side and I'd be happy to work with them.
Aquiles 3 Aug @ 10:31am 
Hello, @Jaxe. The recent updates brought me a strange red error in the log:
[RimHUD v1.17.3] Invalid id 'MindCondition'. It is recommended to reset your config to default.
[RimHUD v1.17.3] Invalid id 'NeedRest'. It is recommended to reset your config to default.
[RimHUD v1.17.3] User preset 'AQUILES' loaded

I tried everything to get rid of it but with no luck. I even rebuilt the preset from scratch. I don't know what to do. I am running out of ideas. Hope you can help me.
Jaxe  [developer] 3 Aug @ 11:53am 
@Aquiles: Can you upload your saved preset
Aquiles 3 Aug @ 12:44pm 
Hello, @Jaxe. I am not familiar with temporary file upload services, but I think I managed to provide a link. Here it is: https://limewire.com/d/rHHDo#U3wq2DcA3C
Let me know if it works for you.
Jaxe  [developer] 4 Aug @ 4:14am 
@Aquiles: looks like still some old element tags in the floating definition. Try open your preset and save it again but untick 'Include floating'. In v1.17.4 now the error message is more clear and defaults to only saving the current layout mode.
Aquiles 4 Aug @ 4:35am 
It works. The error is gone. Thank you very much, @Jaxe. I appreciate it.
The bottom buttons and the information on the sides of the HUD are invisible after last update, I've tried resubbing without success
Last edited by Tannheuser; 4 Aug @ 6:35am
I keep getting this Bok



[[RimHUD v1.17.4 Auto-deactivation report]]
(This error appears to have been triggered by 'Integrated Genes [turnovus.biotech.integratedgenes]')

Object reference not set to an instance of an object

Stacktrace:
[NullReferenceException] Object reference not set to an instance of an object

at IntegratedGenes.StatPart_CertaintyGenetic.ActiveForPawn (Verse.Pawn p)
at IntegratedGenes.StatPart_CertaintyGenetic.TransformValue (RimWorld.StatRequest req, System.Single& val)
at CompSlotLoadable.CompSlottedBonus.GetStatOffset (RimWorld.StatDef stat)
at CompSlotLoadable.SlotLoadableUtility.CheckThingSlotsForStatAugment (Verse.Thing slottedThing, RimWorld.StatDef stat)
at CompSlotLoadable.HarmonyCompSlotLoadable.StatOffsetFromGear_PostFix (System.Single& __result, Verse.Thing gear, RimWorld.StatDef stat)
at RimWorld.StatWorker.StatOffsetFromGear (Verse.Thing gear, RimWorld.StatDef stat)
- TRANSPILER kaitorisenkou.ModularWeapons2: IEnumerable`1 ModularWeapons2.ModularWeapons2:Patch_StatOffsetFromGear(IEnumerable`1 instructions)
- POSTFIX jecstools.jecrell.comps.slotloadable: Void CompSlotLoadable.HarmonyCompSlotLoadable:StatOffsetFromGear_PostFix(Single& __result, Thing gear, StatDef stat)
at RimWorld.StatWorker.GetValueUnfinalized (RimWorld.StatRequest req, System.Boolean applyPostProcess)
- TRANSPILER OskarPotocki.VEF: IEnumerable`1 VEF.Apparels.VanillaExpandedFramework_StatWorker_GetValueUnfinalized_Transpiler:Transpiler(IEnumerable`1 instructions)
- TRANSPILER jecstools.chjees.shields: IEnumerable`1 PawnShields.HarmonyPatches:Transpiler_StatWorker_GetValueUnfinalized(IEnumerable`1 instructions, MethodBase method, ILGenerator ilGen)
at RimWorld.StatWorker.GetValue (RimWorld.StatRequest req, System.Boolean applyPostProcess)
at RimWorld.StatWorker.GetValue (Verse.Thing thing, System.Boolean applyPostProcess, System.Int32 cacheStaleAfterTicks)
- POSTFIX jecstools.jecrell.comps.slotloadable: Void CompSlotLoadable.HarmonyCompSlotLoadable:StatWorker_GetValue_PostFix(Single& __result, Thing thing, StatDef ___stat)
at RimWorld.StatExtension.GetStatValue (Verse.Thing thing, RimWorld.StatDef stat, System.Boolean applyPostProcess, System.Int32 cacheStaleAfterTicks)
- POSTFIX OskarPotocki.VanillaSocialInteractionsExpanded: Void VanillaSocialInteractionsExpanded.GetStatValue_Patch:Postfix(Thing thing, StatDef stat, Boolean applyPostProcess, Single& __result)
- POSTFIX SWCP.Core.Patches: Void SWCP.Core.Patches:StatExtensionGetStatValue_Postfix(Thing thing, StatDef stat, Single& __result)
at RimHUD.Extensions.TextExtensions.AppendStatLine (System.Text.StringBuilder self, RimWorld.StatDef def)
at RimHUD.Interface.Hud.Tooltips.BioTooltip.Get ()
at RimHUD.Interface.Hud.Tooltips.TooltipsPlus.Draw (UnityEngine.Rect rect, System.Func`1[TResult] getter, RimHUD.Interface.Hud.Tooltips.TooltipsPlus+TooltipId id)
at RimHUD.Interface.Hud.Tooltips.TooltipsPlus.DrawCompact (UnityEngine.Rect rect, System.Func`1[TResult] getter)
at RimHUD.Interface.Screen.InspectPanePlus.DrawPane (UnityEngine.Rect rect, RimWorld.IInspectPane pane)
Root level exception in OnGUI(): System.NullReferenceException: Object reference not set to an instance of an object
[Ref 4BB3C502] Duplicate stacktrace, see ref for original
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch2 (string)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.OnGUI_Patch1 (Verse.Root)
< >
Showing 1-12 of 12 comments
Per page: 1530 50