peterhaneve / ONIMods

Peter Han's mods for Oxygen Not Included

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

On deleting dupe in sanbox with equipped atmosuit crash.

litelesslive opened this issue · comments

Was in sandbox deleting garbage from the bottom of the map and deleted a dead/alive dupe in exosuit. Game crashed.

This mod was blamed as a crash reason by the game.

Expected Behavior

No crash

Current Behavior

Crash

Mod Versions

Latest up to date of 09/03/2024

Steps to Reproduce

  1. Not sure if this is needed but have dupe at bottom of the map.
  2. Put a suit on him
  3. Delete the dupe
  4. Crash

Output Log

Cannot set the parent of the GameObject 'Atmo_Suit' while it is being destroyed.

at UnityEngine.Transform.set_parent (UnityEngine.Transform value) [0x00000] in <72b60a3dd8cd4f12a155b761a1af9144>:0
at Equipment.Unequip (Equippable equippable) [0x00000] in <10441a52cf784e609fef9aaaa8368210>:0
at Equippable.Unassign () [0x00000] in <10441a52cf784e609fef9aaaa8368210>:0
at AssignableSlotInstance.Unassign (System.Boolean trigger_event) [0x00000] in <10441a52cf784e609fef9aaaa8368210>:0
at Equipment.Unequip (Equippable equippable) [0x00000] in <10441a52cf784e609fef9aaaa8368210>:0
at Equippable.Unassign () [0x00000] in <10441a52cf784e609fef9aaaa8368210>:0
at Assignable.OnCleanUp () [0x00000] in <10441a52cf784e609fef9aaaa8368210>:0
at KMonoBehaviour.OnDestroy () [0x00000] in <3ca21dc18eae422d87255277091f8593>:0
Build: U51-597172-SD (FT-0.13.3.0)

Player.log

Fast Track will be blamed for every crash, due to bugs in the game's crash reporter. While there are some warnings from Fast Track in the log, it is not the root cause, as this is a race condition in base game only code.

It does look like deleting the last Duplicant in Sandbox Mode can cause Fast Track to spam the log but not crash entirely; since this circumstance would cause game over in normal mode, the log spam will be muted in the next release.