Welcome to the AFK Mods bug tracker. In order to report an issue, please select a project from the drop down menu below. Select “Open New Issue” and fill out the form with as many details as possible.

An account will be required to submit an issue, so if you need one and are unable to register, please contact us via the forums at https://afkmods.iguanadons.net/
       

Issue Data
Status: Closed
Issue Type: Bug Report
Project: Unofficial Fallout 4 Patch
Component: Fallout 4: Vanilla
Category: Papyrus
Assigned To: Sclerocephalus
Platform: All
Severity: Low
Votes: 0
Watching: N/A
Opened By Sclerocephalus on Mar 23, 2017 7:05 am
Last Edited By Arthmoor on May 6, 2017 1:32 pm
Closed By Arthmoor on May 6, 2017 1:32 pm
Resolution: Fixed
Comment: Fixed for UFO4P 2.0.1.

Issue #22208: Assaultron mod scripts - has no 3d and so cannot have a visual effect applied to it

[03/23/2017 - 01:47:04PM] error: (001EAD96): has no 3d and so cannot have a visual effect applied to it.
stack:
[ (0023F49B)].VisualEffect.play() - "<native>" Line ?
[Active effect 2 on (001EAD96)].AssaultronHeadModStealthScript.alive.OnEffectStart() - "C:\Users\Dr. Peter Haas\AppData\Local\Temp\PapyrusTemp\AssaultronHeadModStealthScript.psc" Line 83

This happens with all assaultron mod scripts: AssaultronHeadModScript, AssaultronHeadModStealthScript, AssaultronShockHandScript, DLC01:AssaultronHeadModScriptCB and DLC01:AssaultronHeadModShield.

Apparently, the OnEffectStart event may fire before OnLoad, so there should be a 3D check (but there isn't). Interestingly, some of the scripts once had that check, but it has been commented out:

; while akCaster.Is3dLoaded() == false
; debug.trace("Ass head waiting for 3d";)
; utility.wait(0.05)
; endWhile

EDIT: All scripts are also missing a sanity check for akCaster in the OnEffectFinish event (note that this may not always help to avoid the error because the engine appears to clean up all magic effects quite aggressively, but it also won't do any harm).