Issue Data
|
Issue #28587: SpotlightScript: Cannot call WaitFor3DLoad() on a None object
[02/09/2020 - 06:36:03PM] error: Cannot call WaitFor3DLoad() on a None object, aborting function call
stack: [ (001C8716)].SpotlightScript.active.::remote_ObjectReference_OnTranslationAlmostComplete() - "C:\Users\Dr. Peter Haas\AppData\Local\Temp\PapyrusTemp\SpotlightScript.psc" Line ? [02/09/2020 - 06:36:03PM] warning: Assigning None to a non-object variable named "::temp63" stack: [ (001C8716)].SpotlightScript.active.::remote_ObjectReference_OnTranslationAlmostComplete() - "C:\Users\Dr. Peter Haas\AppData\Local\Temp\PapyrusTemp\SpotlightScript.psc" Line ? [02/09/2020 - 06:36:03PM] error: Cannot call WaitFor3DLoad() on a None object, aborting function call stack: [ (001C8716)].SpotlightScript.active.::remote_ObjectReference_OnTranslationAlmostComplete() - "C:\Users\Dr. Peter Haas\AppData\Local\Temp\PapyrusTemp\SpotlightScript.psc" Line ? [02/09/2020 - 06:36:03PM] warning: Assigning None to a non-object variable named "::temp63" stack: [ (001C8716)].SpotlightScript.active.::remote_ObjectReference_OnTranslationAlmostComplete() - "C:\Users\Dr. Peter Haas\AppData\Local\Temp\PapyrusTemp\SpotlightScript.psc" Line ? |
That's a VERY strange one ....
The error indicates that the myPatrolMarker property on this spotlight's script is 'none'. However, the error occurs within a remote event that was just received from that marker, and if a reference sends events, it cannot be 'none'.
The myPatrolMarker property is usually 'none' on first load (and after a reset). The spotlight'setup procedure creates a marker at run time and fills its ref in the myPatrolMarker property. Subsequently, it registers for remote events from that marker. The property is never cleared by the scripts, so cannot end up being 'none' until the cell resets. Thus, this error is actually impossible to occur.
Likely an engine glitch. There's nothing we can do to avoid it.
The error indicates that the myPatrolMarker property on this spotlight's script is 'none'. However, the error occurs within a remote event that was just received from that marker, and if a reference sends events, it cannot be 'none'.
The myPatrolMarker property is usually 'none' on first load (and after a reset). The spotlight'setup procedure creates a marker at run time and fills its ref in the myPatrolMarker property. Subsequently, it registers for remote events from that marker. The property is never cleared by the scripts, so cannot end up being 'none' until the cell resets. Thus, this error is actually impossible to occur.
Likely an engine glitch. There's nothing we can do to avoid it.
Showing Comments 1 - 1 of 1