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 22, 2017 9:19 am
Last Edited By Arthmoor on May 6, 2017 1:19 pm
Closed By Arthmoor on May 6, 2017 1:19 pm
Resolution: Fixed
Comment: Fixed for UFO4P 2.0.1.

Issue #22196: DN143TargetDummyScript - attempting to set the volume of an invalid sound instance

[03/21/2017 - 12:09:23AM] error: Attempting to set the volume of an invalid sound instance
stack:
<unknown self>.Sound.SetInstanceVolume() - "<native>" Line ?
[ (000FCCA5)].DN143TargetDummyScript.OnLoad() - "g:\_F4\Art\Raw\ScriptsMilestone\DN143TargetDummyScript.psc" Line 38
[03/21/2017 - 12:09:23AM] error: Attempting to set the volume of an invalid sound instance
stack:
<unknown self>.Sound.SetInstanceVolume() - "<native>" Line ?
[ (000FCCA6)].DN143TargetDummyScript.OnLoad() - "g:\_F4\Art\Raw\ScriptsMilestone\DN143TargetDummyScript.psc" Line 38
[03/21/2017 - 12:09:23AM] error: Attempting to set the volume of an invalid sound instance
stack:
<unknown self>.Sound.SetInstanceVolume() - "<native>" Line ?
[ (000FCCA7)].DN143TargetDummyScript.OnLoad() - "g:\_F4\Art\Raw\ScriptsMilestone\DN143TargetDummyScript.psc" Line 38
[03/21/2017 - 12:09:23AM] error: Attempting to set the volume of an invalid sound instance
stack:
<unknown self>.Sound.SetInstanceVolume() - "<native>" Line ?
[ (000FCCA9)].DN143TargetDummyScript.OnLoad() - "g:\_F4\Art\Raw\ScriptsMilestone\DN143TargetDummyScript.psc" Line 38
[03/21/2017 - 12:09:23AM] error: Attempting to set the volume of an invalid sound instance
stack:
<unknown self>.Sound.SetInstanceVolume() - "<native>" Line ?
[ (000FCCAA)].DN143TargetDummyScript.OnLoad() - "g:\_F4\Art\Raw\ScriptsMilestone\DN143TargetDummyScript.psc" Line 38


There is a sanity check missing. Even if the Play() function is called successfully, the sound may not be played (this usually happens when the player is too far away from the object) and in that specific case, a soundID of zero is returned (this is considered invalid).