Risk of Rain 2
You are viewing a potentially older version of this package. View Latest Version
Install with App

Details

Date Uploaded
Downloads
5.1K
Size
39KB

BaseGameFixes

Fixes a collection of base game errors and NullReferenceExceptions via Harmony patches.

Fixes

  • Defective Unit - death state no longer throws when its model is already gone (e.g. Void Fields wave ending).
  • Void Barnacle - spawn no longer tries to spawn a null muzzle flash effect.
  • Dream Demon - projectile no longer throws on destroyed growth renderers.
  • RigidbodySoundOnImpact - no longer throws when a collision happens before Start.
  • SetStateOnHurt - freeze/stun no longer throws when applied before Start (duration modifiers are still respected).
  • Drone Tech - drone command targeting no longer throws when aiming at a chest.
  • SpecialObjectAttributes - no longer throws in Start when a prefab has missing objects in its collision/detach lists.
  • Scene loading (multiplayer) - a scene object destroyed during spawning no longer stops the rest of the scene from being spawned for clients.
  • Wandering Vagrant - Jelly Barrage no longer throws every tick when the Vagrant has no model.
  • Wake mission - leaving the cursed book state no longer throws when the scene is unloading.
  • Footsteps - bodies with footstep dust enabled but no dust prefab no longer throw on spawn.
  • Void Fields spawns - monsters no longer spawn inside the bubble of the cell you're charging.
  • Void Fields cells - objects running the null ward states without a SphereZone no longer throw on start.
  • EnemyDetection - no longer throws when touching a hurtbox that has no health component/body.
  • Interactable locks - unlocking no longer stops partway when one of the locked interactables was destroyed.
  • Aurelionite's Blessing - taking damage with no attacker (e.g. Shared Suffering) no longer throws.
  • Director cards - null director cards are dropped instead of breaking the stage's spawn pool (and with it the teleporter boss).
  • Teleporter boss - no longer throws when the stage has no monster cards at all.
  • Lynx totem - summoned Lynx no longer throw when the totem owner has no master.
  • Inspect panel - no longer throws when shown from a panel with no event system, or for items with no name/description/lore token (e.g. Starstorm 2's trader and shard panel).
  • Animation effects - animation events with no effect assigned no longer log Unable to SpawnEffect.
  • Artifact achievements - a mod's "obtain artifact" achievement for a disabled artifact no longer breaks profile loading (e.g. Expedition).
  • Void Fields cells - an active cell no longer throws every frame (or on exit) when the run ends while it's charging.
  • Collective elites - removing the share buff from destroyed bodies no longer throws in other mods' buff hooks (e.g. Classic Items Returns' Hit List).
  • Stage spawn pool - monster pool categories with nothing available (e.g. a family event with no available families) are no longer picked, which aborted building the stage's monsters and interactables.
  • Interactable spawning - cards with 0 weight are no longer picked, which threw and stopped the rest of the stage's interactables from spawning.
  • Log noise - silences GenericPool: ReleasePools called on non-empty pool, Particle System is trying to spawn on a mesh with zero surface area, Starstorm 2's UI/TranslucentImage material errors, its pedestal _Vibrancy/_Flatten material errors and its ShardPoison item index message.

Mod fixes

Only applied when the mod is installed.

  • MoonstormSharedUtils - destroying a pickup display no longer throws in MSU's item tier hook.
  • MoonstormSharedUtils - custom interactables no longer throw on stages with no interactable pool, and are added to stages whose pool only has expansion variants.
  • Starstorm 2 - storm events no longer throw when their rain post-processing is missing.
  • Starstorm 2 - teleporters missing some charging effects no longer throw on spawn, so ethereal upgrades on them still get their boss items, extra credits and portal.
  • Augmentum - Mini Matroyshka no longer throws when buying interactables with short names.
  • Expedition - Unstable elites no longer throw when a team member has no body.
  • Ancient Scepter - inventory changes outside a run no longer throw, which left Scepter stuck and stopped it from rerolling/upgrading skills for the rest of the session.
  • Starstorm 2 - Birthright health bar hook no longer throws on destroyed inventories.
  • Starstorm 2 - Clay Mongers no longer throw when the run ends.
  • Starstorm 2 - elite event bosses (Boreal, Infernal, Tectonic, Overcharged...) in multiplayer drop their shard for each player, instead of invisible "???" pickups that lag the game.
  • Starstorm 2 - Mimics drop their items even when their pickup pivot is gone.
  • Starstorm 2 - Sticky Overloader no longer throws every frame when stuck to a body without hurtboxes.
  • Starstorm 2 - the trader no longer throws on an invalid choice or a trade whose item is disabled.
  • ShareSuite - blood shrines with shared money no longer throw (and lose the shared gold) while a player is dead.
  • SniperClassic - reload menu hook no longer throws when a UI prompt loses its player (which also aborted Starstorm 2's trade message).
  • ZetAspects - destroying unspawned bodies no longer throws a duplicate key error that skipped CharacterBody.OnDestroy.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.