Jump to content

Crash when sublimation animation attempts to play out-of-bounds.


Anomalocaris
  • Branch: Live Branch Version: Windows Pending

I'm not surprised this bug went undetected for so long considering the niche circumstances that trigger it, but it does pose a legitimate problem that could be encountered during natural gameplay.

The issue occurs with certain debris that sublimate into gas-- I have confirmed it occurs with oxylite and bleachstone debris, but it did not occur with slime or polluted dirt during testing.

If these materials wind up out of bounds, such as being bounced upward above the build limit by meteor impacts, the game will crash if they attempt to play their gas bubble animation while out of bounds.

While this bug is confirmed to occur in the base game, I first encountered it on a modded Spaced Out! world that featured only a single planetoid and the otherwise-unused Bleachstone Meteor Showers. The top of my map was already filled with bleachstone tiles from a prior meteor shower, and the next meteor shower broke many of those tiles and bounced the resulting bleachstone debris around, eventually (and unavoidably) causing the game to crash.

Quote

 

IndexOutOfRangeException: Index was outside the bounds of the array.

(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Game+c__DisplayClass187_0.<InitializeFXSpawners>b__0_Patch1(Game/<>c__DisplayClass187_0,SpawnFXHashes,UnityEngine.GameObject)
Game+<>c__DisplayClass187_0.<InitializeFXSpawners>b__4 (UnityEngine.GameObject go) (at <81e516d9c2bc49608bcac24a555d88de>:0)
KAnimControllerBase.DestroySelf () (at <81e516d9c2bc49608bcac24a555d88de>:0)
KBatchedAnimController.TriggerStop () (at <81e516d9c2bc49608bcac24a555d88de>:0)
AnimEventManager.Update () (at <81e516d9c2bc49608bcac24a555d88de>:0)
Global.Update () (at <81e516d9c2bc49608bcac24a555d88de>:0)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
LogCatcher:UnityEngine.ILogHandler.LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)

Build: U58-722606-SCRPN

 

 


Steps to Reproduce
  1. Place oxylite or bleachstone debris near the very top of the map (for example, on top of bunker tile two spaces below the build limit).
  2. Using sandbox mode, spam meteors down on the debris to continuously "bounce" it up above the build limit.
  3. As soon as any piece of debris attempts to play its sublimation animation while at the apex of its bounce, the game should crash.



User Feedback


There are no comments to display.



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...