
You are viewing a potentially older version of this package. View Latest Version
RiskUIFixes
Fixes the inspect panel not opening on Tab with RiskUI installedRiskUIFix
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.