RimWorld

RimWorld

RimHUD
 This topic has been pinned, so it's probably important
Jaxe  [developer] Jul 20 @ 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-15 of 19 comments
USBMOON Jul 30 @ 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 Aug 1 @ 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; Aug 1 @ 12:45am
tase Aug 1 @ 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] Aug 2 @ 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 Aug 3 @ 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] Aug 3 @ 11:53am 
@Aquiles: Can you upload your saved preset
Aquiles Aug 3 @ 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] Aug 4 @ 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 Aug 4 @ 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; Aug 4 @ 6:35am
Thkdk Aug 6 @ 6:39am 
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)
Murfle Aug 6 @ 10:38pm 
I'm on 1.5 of Rimworld sine im trying to complete some playtroughs before I switch to Odyssey. Yesterday I clicked trough some of the setting sub menus and now RimHUD gives an error whenever I click on a pawn.

[[RimHUD v1.16.1 Auto-deactivation report]]
Object reference not set to an instance of an object

Trace:
[RimHUD] Object reference not set to an instance of an object
[Ref C9EA7B5A]
at RimHUD.Extensions.GUIExtensions.GetVGrid (UnityEngine.Rect self, System.Single padding, System.Single[] heights)
at RimHUD.Interface.Hud.Layers.PanelLayer.Draw (UnityEngine.Rect rect)
at RimHUD.Interface.Hud.Layers.HStackLayer.Draw (UnityEngine.Rect rect)
at RimHUD.Interface.Hud.Layers.VStackLayer.Draw (UnityEngine.Rect rect)
at RimHUD.Interface.Hud.Layers.LayoutLayer.Draw (UnityEngine.Rect rect)


Clicking Reactivate gives:

[[RimHUD v1.16.1 Auto-deactivation report]]
Object reference not set to an instance of an object

Trace:
[RimHUD] Object reference not set to an instance of an object
[Ref C9EA7B5A] Duplicate stacktrace, see ref for original



I've tried unsubscribing the mod, deleting the mod folder, even grabbing the /Legacy/1.5 files from a friend with a working version. Nothing works. Any ideas?
[[RimHUD v1.17.4 Auto-deactivation report]]
Index was outside the bounds of the array.

Stacktrace:
[IndexOutOfRangeException] Index was outside the bounds of the array.

at RimWorld.MedicalCareUtility.MedicalCareSelectButton (UnityEngine.Rect rect, Verse.Pawn pawn)
- PREFIX VREAndroidsMod: Boolean VREAndroids.MedicalCareUtility_MedicalCareSelectButton_Patch:Prefix(Pawn pawn)
at RimHUD.Interface.Screen.InspectPaneButtons.DrawMedical (Verse.Pawn pawn, UnityEngine.Rect rect)
at RimHUD.Interface.Screen.InspectPaneButtons.Draw (UnityEngine.Rect bounds, RimWorld.IInspectPane pane, System.Single& offset)
- POSTFIX NameYourEntitiesMod: Void NameYourEntities.Rimhud_Compatibility:Postfix(Rect bounds, IInspectPane pane, Single& offset)
- POSTFIX SmashPhil.VehicleFramework: Void SmashTools.Patching.Compatibility_RimHUD:DrawButtonsOnRimHUD(Rect bounds, IInspectPane pane, Single& offset)
- POSTFIX Andromeda.UsefulMarks: Void UsefulMarks.RimHUD_Patch:Postfix(Rect bounds, IInspectPane pane, Single& offset)
at RimHUD.Interface.Screen.InspectPanePlus.DrawPane (UnityEngine.Rect rect, RimWorld.IInspectPane pane)
Jaxe  [developer] Aug 8 @ 9:27pm 
@Thkdk: That message suggest it's caused by the mod Integrated Genes [turnovus.biotech.integratedgenes]

@pikasonic: That error shows a duplicate stacktrace, I need the original to understand it.

@Murfle: I might have to downgrade 1.5's version to a previous one as I don't think I can afford to keep both versions up to date

@minersdreams: I'm seeing a prefix for VREAndroidsMod, NameYourEntitiesMod, SmashPhil.VehicleFramework, and Andromeda.UsefulMarks in your report, which means any of those mods could be causing an issue.
< >
Showing 1-15 of 19 comments
Per page: 1530 50