itsschwer-NREater icon

NREater

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

Last updated 2 weeks ago
Total downloads 1886
Total rating 0 
Categories Tweaks Seekers of the Storm Update
Dependency string itsschwer-NREater-0.0.1
Dependants 2 other packages depend on this package

This mod requires the following mods to function

bbepis-BepInExPack-5.4.2117 icon
bbepis-BepInExPack

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

Preferred version: 5.4.2117

README

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]