Issue Data
|
Issue #28187: RESceneKMK07: Index 0 for GetAt is outside max range (0)
[12/10/2019 - 07:00:35PM] error: alias Dogs on quest RESceneKMK07 (0018605A): Index 0 for GetAt is outside max range (0).
stack: [alias Dogs on quest RESceneKMK07 (0018605A)].recollectionaliasscript.GetAt() - "<native>" Line ? [RESceneKMK07 (0018605A)].rescript.::remote_REParentScript_RECheckForCleanup() - "C:\Users\Dr. Peter Haas\AppData\Local\Temp\PapyrusTemp\REScript.psc" Line 272 |
This is an error that still can occur on any RE quest if two cleanup events are received within a short period of time. If the first event finds that the stop conditions are fulfilled, it will shut down the quest; at this point, the second event is still being processed and will then fail eventually with an error that is otherwise impossible to occur (such as this one).
To avoid this, I modified REScript in a previous patch to set a tracking bool when the event processing starts running. While this bool is 'true', handling of other events that come in while the first event is being processed will be skipped. However, it's still possible that a second event fires before the tracking bool is set. Thus, the error will occur less likely now but there's nothing I can do to avoid it entirely.
To avoid this, I modified REScript in a previous patch to set a tracking bool when the event processing starts running. While this bool is 'true', handling of other events that come in while the first event is being processed will be skipped. However, it's still possible that a second event fires before the tracking bool is set. Thus, the error will occur less likely now but there's nothing I can do to avoid it entirely.
Showing Comments 1 - 1 of 1