You are viewing a potentially older version of this package. View all versions.
unreal-RiskUIFixes-1.0.0 icon

RiskUIFixes

Fixes the inspect panel not opening on Tab with RiskUI installed

By unreal
Date uploaded 2 weeks ago
Version 1.0.0
Download link unreal-RiskUIFixes-1.0.0.zip
Downloads 59
Dependency string unreal-RiskUIFixes-1.0.0

This mod requires the following mods to function

bbepis-BepInExPack-5.4.2121 icon
bbepis-BepInExPack

Unified BepInEx all-in-one modding pack - plugin framework, detour library

Preferred version: 5.4.2121
Bubbet-RiskUI-1.6.7 icon
Bubbet-RiskUI

The first hud replacement mod

Preferred version: 1.6.7

README

RiskUIFix

Fixes the inspect panel not opening on Tab while RiskUI is installed.

What's wrong

RiskUI swaps the whole HUD for its own prefab, and that prefab never got the AsyncImage reference wired up on its inspect panel controller. So every Tab press near an item ends in a NullReferenceException inside InspectPanelController.Show, right before the panel would open. The scoreboard still comes up, which makes it look like Tab just doesn't work.

What this does

Rebuilds the missing AsyncImage at runtime and reattaches it to the controller, then gets out of the way. Works for both item and drone inspect info. The vanilla HUD is not touched, so the mod is harmless without RiskUI too.

No config. If you want proof it's doing something, the log prints inspect panel healed once per HUD.