NREater

v0.0.1·Updated 2024-12-17

Tries to fix (spammy) vanilla null reference exceptions — [ server-side* ]

About this mod Author’s original text

nreater

NullReferenceException: Object reference not set to an instance of an object

Tries to fix (spammy) vanilla null reference exceptions.

targets

  • ElusiveAntlersPickup
  • prevent NRE spam when the owner of orb pickups spawned by Elusive Antlers dies

todo

  • observe other common NREs
  • try fix ElusiveAntlersPickup.Start
  • try fix ElusiveAntlersPickup.OnDestroy?
  • patch out all Debug.LogError("Can't PushPickupNotification for " + Util.GetBestMasterName(characterMaster) + " because they aren't local."); in CharacterMasterNotificationQueue?
  • just kind of annoying (and harmless)
  • *but not an NRE**

see also

  • MeridianPrimePrime — fixes an NRE when cracking Aurelionite Geodes on Prime Meridian
  • fixed in vanilla RoR2v1.3.6 [Seekers of the Storm Roadmap Phase 1 — Items & Elites]

Install & use Install: BepInEx plugin

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.

Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.

Dependencies

Install these first, or the mod will not work:

bbepis-BepInExPack

File & checksum

Filename
NREater-0.0.1.zip
File size
9.4 KiB
SHA-256
941b22f0af284b3bb0dd97f047c8bf2c843d7adecaa39cff3bd139000a574a13
Stored at
2026-10-10 06:13