Issue Data
|
Issue #26019: DefaultEnableDisableTrigScript: (0014F766): cannot enable a deleted object
[02/08/2019 - 12:25:38AM] error: (0014F766): cannot enable a deleted object.
stack: [ (0014F766)].ObjectReference.EnableNoWait() - "<native>" Line ? [ (0014F765)].DefaultEnableDisableTrigScript.OnTriggerEnter() - "C:\Users\Dr. Peter Haas\AppData\Local\Temp\PapyrusTemp\DefaultEnableDisableTrigScript.psc" Line 50 |
0014F766 is a leveled mirelurk king on Spectacle Island. All mirelurks in that location (including 0014F766) get eventually deleted by DN127MirelurkSignalMaster which runs on a marker object placed near the workbench.
The trigger 0014F765 however is never disabled. Thus, if the player enters the trigger after DN127MirelurkSignalMaster has deleted the mirelurks, you'll get that error.
This could be handled by a sanity check on DefaultEnableDisableTrigScript, but it's better to disable the trigger once the linked ref ceases to exist. Made a small script to handle that and added it locally.
The trigger 0014F765 however is never disabled. Thus, if the player enters the trigger after DN127MirelurkSignalMaster has deleted the mirelurks, you'll get that error.
This could be handled by a sanity check on DefaultEnableDisableTrigScript, but it's better to disable the trigger once the linked ref ceases to exist. Made a small script to handle that and added it locally.
Need to reconsider this in view of other oddities reported on the Spectacle Island mirelurks.
Showing Comments 1 - 2 of 2