You are viewing a potentially older version of this package. View all versions.
AST_Studios-MoreUpgrades_Fix-1.0.1 icon

MoreUpgrades Fix

Compatibility patch for MoreUpgrades: fixes repeated tracker, cosmetic tracker, and map zoom null reference errors with safe tracker rebuilding enabled by default.

Date uploaded a day ago
Version 1.0.1
Download link AST_Studios-MoreUpgrades_Fix-1.0.1.zip
Downloads 2913
Dependency string AST_Studios-MoreUpgrades_Fix-1.0.1

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2305 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2305
BULLETBOT-MoreUpgrades-1.7.3 icon
BULLETBOT-MoreUpgrades

Adds more unique upgrade items and is highly configurable.

Preferred version: 1.7.3

README

MoreUpgrades Fix

Compatibility patch for MoreUpgrades.

What it fixes

  • Prevents repeated null reference errors from the MoreUpgrades map tracker update.
  • Prevents cosmetic tracker null reference errors when player or map state is not ready.
  • Adds safer checks around player, map, death head, map entity, and renderer references.
  • Adds a safe guard for the MoreUpgrades map zoom update.
  • Rebuilds the map tracker safely by default so the tracker keeps working when the original update would fail.
  • Keeps a low-overhead guarded mode available through config.

Config

The config file is created at:

BepInEx/config/moreupgrades.fix.runtime.cfg

Options:

  • DebugLogging - enables extra diagnostic logs. Disabled by default.
  • RebuildTrackerSafely - enables the safer tracker rebuild. Enabled by default.

Requirements

  • MoreUpgrades 1.7.3
  • BepInExPack

Install this patch together with the original MoreUpgrades mod.

CHANGELOG

Changelog

1.0.1

  • Added a guard for MoreUpgrades cosmetic tracker callback <Awake>b__14.
  • Fixed repeated cosmetic tracker null reference errors after player/controller or map state is missing.
  • Kept the existing safe map tracker and map zoom guards.
  • Moved suppressed tracker cleanup exceptions to debug logging so handled MoreUpgrades cleanup timing no longer appears as a warning in normal logs.

1.0.0

  • Added safe guards for MoreUpgrades map tracker updates.
  • Fixed repeated tracker null reference console errors.
  • Enabled safe tracker rebuilding by default.
  • Added config options for debug logging and tracker rebuild mode.