Please select what you are reporting on:
Unreal Editor for Fortnite
What Type of Bug are you experiencing?
Audio
Summary
Niagara Initialize Audio Player Dependency for Audio Player 4.0 is Disallowed
When updating from 3.0 to 4.0 on Audio Player within a niagara system it comes back as disallowed when trying to upload the project
Steps to Reproduce
Add Audio Player 4.0 with the new required dependency to an emitter within a Niagara system and then try to start the session.
Expected Result
It would work
Observed Result
Returns Disallowed object type /Niagara/Modules/Audio/InitializeAudioPlayer.InitializeAudioPlayer
Platform(s)
PC UEFN
The status of UCB-1035 incident has been moved from ‘Awaiting Validation’ to ‘Needs Triage’.
ItsJacky
(ItsJacky)
December 13, 2023, 10:29am
3
Temporary work around is to copy and paste the below (the previous version of the Play Audio script) into the emitter Particle Spawn property.
Begin Object Class=/Script/NiagaraEditor.NiagaraClipboardContent Name="NiagaraClipboardContent_185" ExportPath="/Script/NiagaraEditor.NiagaraClipboardContent'/Engine/Transient.NiagaraClipboardContent_185'"
Begin Object Class=/Script/NiagaraEditor.NiagaraClipboardFunction Name="NiagaraClipboardFunction_0" ExportPath="/Script/NiagaraEditor.NiagaraClipboardFunction'/Engine/Transient.NiagaraClipboardContent_185:NiagaraClipboardFunction_0'"
Begin Object Class=/Script/NiagaraEditor.NiagaraClipboardFunctionInput Name="NiagaraClipboardFunctionInput_9" ExportPath="/Script/NiagaraEditor.NiagaraClipboardFunctionInput'/Engine/Transient.NiagaraClipboardContent_185:NiagaraClipboardFunction_0.NiagaraClipboardFunctionInput_9'"
End Object
Begin Object Class=/Script/NiagaraEditor.NiagaraClipboardFunctionInput Name="NiagaraClipboardFunctionInput_8" ExportPath="/Script/NiagaraEditor.NiagaraClipboardFunctionInput'/Engine/Transient.NiagaraClipboardContent_185:NiagaraClipboardFunction_0.NiagaraClipboardFunctionInput_8'"
End Object
Begin Object Class=/Script/NiagaraEditor.NiagaraClipboardFunctionInput Name="NiagaraClipboardFunctionInput_7" ExportPath="/Script/NiagaraEditor.NiagaraClipboardFunctionInput'/Engine/Transient.NiagaraClipboardContent_185:NiagaraClipboardFunction_0.NiagaraClipboardFunctionInput_7'"
End Object
Begin Object Class=/Script/NiagaraEditor.NiagaraClipboardFunctionInput Name="NiagaraClipboardFunctionInput_6" ExportPath="/Script/NiagaraEditor.NiagaraClipboardFunctionInput'/Engine/Transient.NiagaraClipboardContent_185:NiagaraClipboardFunction_0.NiagaraClipboardFunctionInput_6'"
End Object
Begin Object Class=/Script/NiagaraEditor.NiagaraClipboardFunctionInput Name="NiagaraClipboardFunctionInput_5" ExportPath="/Script/NiagaraEditor.NiagaraClipboardFunctionInput'/Engine/Transient.NiagaraClipboardContent_185:NiagaraClipboardFunction_0.NiagaraClipboardFunctionInput_5'"
End Object
Begin Object Class=/Script/NiagaraEditor.NiagaraClipboardFunctionInput Name="NiagaraClipboardFunctionInput_4" ExportPath="/Script/NiagaraEditor.NiagaraClipboardFunctionInput'/Engine/Transient.NiagaraClipboardContent_185:NiagaraClipboardFunction_0.NiagaraClipboardFunctionInput_4'"
End Object
Begin Object Class=/Script/NiagaraEditor.NiagaraClipboardFunctionInput Name="NiagaraClipboardFunctionInput_3" ExportPath="/Script/NiagaraEditor.NiagaraClipboardFunctionInput'/Engine/Transient.NiagaraClipboardContent_185:NiagaraClipboardFunction_0.NiagaraClipboardFunctionInput_3'"
End Object
Begin Object Class=/Script/NiagaraEditor.NiagaraClipboardFunctionInput Name="NiagaraClipboardFunctionInput_2" ExportPath="/Script/NiagaraEditor.NiagaraClipboardFunctionInput'/Engine/Transient.NiagaraClipboardContent_185:NiagaraClipboardFunction_0.NiagaraClipboardFunctionInput_2'"
End Object
Begin Object Class=/Script/NiagaraEditor.NiagaraClipboardFunctionInput Name="NiagaraClipboardFunctionInput_1" ExportPath="/Script/NiagaraEditor.NiagaraClipboardFunctionInput'/Engine/Transient.NiagaraClipboardContent_185:NiagaraClipboardFunction_0.NiagaraClipboardFunctionInput_1'"
End Object
Begin Object Class=/Script/NiagaraEditor.NiagaraClipboardFunctionInput Name="NiagaraClipboardFunctionInput_0" ExportPath="/Script/NiagaraEditor.NiagaraClipboardFunctionInput'/Engine/Transient.NiagaraClipboardContent_185:NiagaraClipboardFunction_0.NiagaraClipboardFunctionInput_0'"
Begin Object Class=/Script/Niagara.NiagaraDataInterfaceAudioPlayer Name="NiagaraDataInterfaceAudioPlayer_0" ExportPath="/Script/Niagara.NiagaraDataInterfaceAudioPlayer'/Engine/Transient.NiagaraClipboardContent_185:NiagaraClipboardFunction_0.NiagaraClipboardFunctionInput_0.NiagaraDataInterfaceAudioPlayer_0'"
End Object
End Object
End Object
Begin Object Name="NiagaraClipboardFunction_0" ExportPath="/Script/NiagaraEditor.NiagaraClipboardFunction'/Engine/Transient.NiagaraClipboardContent_185:NiagaraClipboardFunction_0'"
Begin Object Name="NiagaraClipboardFunctionInput_9" ExportPath="/Script/NiagaraEditor.NiagaraClipboardFunctionInput'/Engine/Transient.NiagaraClipboardContent_185:NiagaraClipboardFunction_0.NiagaraClipboardFunctionInput_9'"
InputName="Audio Position Coordinate Space"
InputType=(ClassStructOrEnum="/Script/CoreUObject.Enum'/Script/Niagara.ENiagaraCoordinateSpace'",UnderlyingType=3)
Local(0)=0
Local(1)=0
Local(2)=0
Local(3)=0
End Object
Begin Object Name="NiagaraClipboardFunctionInput_8" ExportPath="/Script/NiagaraEditor.NiagaraClipboardFunctionInput'/Engine/Transient.NiagaraClipboardContent_185:NiagaraClipboardFunction_0.NiagaraClipboardFunctionInput_8'"
InputName="Audio Rotation"
InputType=(ClassStructOrEnum="/Script/CoreUObject.ScriptStruct'/Script/CoreUObject.Vector3f'",UnderlyingType=2)
Local(0)=0
Local(1)=0
Local(2)=0
Local(3)=0
Local(4)=0
Local(5)=0
Local(6)=0
Local(7)=0
Local(8)=0
Local(9)=0
Local(10)=0
Local(11)=0
End Object
Begin Object Name="NiagaraClipboardFunctionInput_7" ExportPath="/Script/NiagaraEditor.NiagaraClipboardFunctionInput'/Engine/Transient.NiagaraClipboardContent_185:NiagaraClipboardFunction_0.NiagaraClipboardFunctionInput_7'"
InputName="Audio Playback Position"
InputType=(ClassStructOrEnum="/Script/CoreUObject.ScriptStruct'/Script/Niagara.NiagaraPosition'",UnderlyingType=2)
ValueMode=Linked
Linked="Engine.Emitter.SimulationPosition"
End Object
Begin Object Name="NiagaraClipboardFunctionInput_6" ExportPath="/Script/NiagaraEditor.NiagaraClipboardFunctionInput'/Engine/Transient.NiagaraClipboardContent_185:NiagaraClipboardFunction_0.NiagaraClipboardFunctionInput_6'"
InputName="Start Time"
InputType=(ClassStructOrEnum="/Script/CoreUObject.ScriptStruct'/Script/Niagara.NiagaraFloat'",UnderlyingType=2)
Local(0)=0
Local(1)=0
Local(2)=0
Local(3)=0
End Object
Begin Object Name="NiagaraClipboardFunctionInput_5" ExportPath="/Script/NiagaraEditor.NiagaraClipboardFunctionInput'/Engine/Transient.NiagaraClipboardContent_185:NiagaraClipboardFunction_0.NiagaraClipboardFunctionInput_5'"
InputName="Volume"
InputType=(ClassStructOrEnum="/Script/CoreUObject.ScriptStruct'/Script/Niagara.NiagaraFloat'",UnderlyingType=2)
Local(0)=0
Local(1)=0
Local(2)=128
Local(3)=63
End Object
Begin Object Name="NiagaraClipboardFunctionInput_4" ExportPath="/Script/NiagaraEditor.NiagaraClipboardFunctionInput'/Engine/Transient.NiagaraClipboardContent_185:NiagaraClipboardFunction_0.NiagaraClipboardFunctionInput_4'"
InputName="Pitch"
InputType=(ClassStructOrEnum="/Script/CoreUObject.ScriptStruct'/Script/Niagara.NiagaraFloat'",UnderlyingType=2)
Local(0)=0
Local(1)=0
Local(2)=128
Local(3)=63
End Object
Begin Object Name="NiagaraClipboardFunctionInput_3" ExportPath="/Script/NiagaraEditor.NiagaraClipboardFunctionInput'/Engine/Transient.NiagaraClipboardContent_185:NiagaraClipboardFunction_0.NiagaraClipboardFunctionInput_3'"
InputName="Audio Playback Enabled"
InputType=(ClassStructOrEnum="/Script/CoreUObject.ScriptStruct'/Script/Niagara.NiagaraBool'",UnderlyingType=2)
Local(0)=255
Local(1)=255
Local(2)=255
Local(3)=255
End Object
Begin Object Name="NiagaraClipboardFunctionInput_2" ExportPath="/Script/NiagaraEditor.NiagaraClipboardFunctionInput'/Engine/Transient.NiagaraClipboardContent_185:NiagaraClipboardFunction_0.NiagaraClipboardFunctionInput_2'"
InputName="Play Audio Trigger"
InputType=(ClassStructOrEnum="/Script/CoreUObject.ScriptStruct'/Script/Niagara.NiagaraBool'",UnderlyingType=2)
Local(0)=255
Local(1)=255
Local(2)=255
Local(3)=255
End Object
Begin Object Name="NiagaraClipboardFunctionInput_1" ExportPath="/Script/NiagaraEditor.NiagaraClipboardFunctionInput'/Engine/Transient.NiagaraClipboardContent_185:NiagaraClipboardFunction_0.NiagaraClipboardFunctionInput_1'"
InputName="Play Audio Mode"
InputType=(ClassStructOrEnum="/Script/Engine.UserDefinedEnum'/Niagara/Enums/Audio/PlayAudioMode.PlayAudioMode'",UnderlyingType=3)
Local(0)=0
Local(1)=0
Local(2)=0
Local(3)=0
End Object
Begin Object Name="NiagaraClipboardFunctionInput_0" ExportPath="/Script/NiagaraEditor.NiagaraClipboardFunctionInput'/Engine/Transient.NiagaraClipboardContent_185:NiagaraClipboardFunction_0.NiagaraClipboardFunctionInput_0'"
Begin Object Name="NiagaraDataInterfaceAudioPlayer_0" ExportPath="/Script/Niagara.NiagaraDataInterfaceAudioPlayer'/Engine/Transient.NiagaraClipboardContent_185:NiagaraClipboardFunction_0.NiagaraClipboardFunctionInput_0.NiagaraDataInterfaceAudioPlayer_0'"
SoundToPlay="/Script/Engine.SoundCue'/Game/Sounds/Creative/Toys/AtmosphericParticles/Atmospheric_Lightning_Strike_02_Cue.Atmospheric_Lightning_Strike_02_Cue'"
MergeId=DD16343649E0FBF0D91D4596F9E6518A
End Object
InputName="Audio Player"
InputType=(ClassStructOrEnum="/Script/CoreUObject.Class'/Script/Niagara.NiagaraDataInterfaceAudioPlayer'",UnderlyingType=1)
ValueMode=Data
Data="/Script/Niagara.NiagaraDataInterfaceAudioPlayer'NiagaraDataInterfaceAudioPlayer_0'"
End Object
FunctionName="PlayAudio"
Script="/Niagara/Modules/Audio/PlayAudio.PlayAudio"
Inputs(0)="/Script/NiagaraEditor.NiagaraClipboardFunctionInput'NiagaraClipboardFunctionInput_0'"
Inputs(1)="/Script/NiagaraEditor.NiagaraClipboardFunctionInput'NiagaraClipboardFunctionInput_1'"
Inputs(2)="/Script/NiagaraEditor.NiagaraClipboardFunctionInput'NiagaraClipboardFunctionInput_2'"
Inputs(3)="/Script/NiagaraEditor.NiagaraClipboardFunctionInput'NiagaraClipboardFunctionInput_3'"
Inputs(4)="/Script/NiagaraEditor.NiagaraClipboardFunctionInput'NiagaraClipboardFunctionInput_4'"
Inputs(5)="/Script/NiagaraEditor.NiagaraClipboardFunctionInput'NiagaraClipboardFunctionInput_5'"
Inputs(6)="/Script/NiagaraEditor.NiagaraClipboardFunctionInput'NiagaraClipboardFunctionInput_6'"
Inputs(7)="/Script/NiagaraEditor.NiagaraClipboardFunctionInput'NiagaraClipboardFunctionInput_7'"
Inputs(8)="/Script/NiagaraEditor.NiagaraClipboardFunctionInput'NiagaraClipboardFunctionInput_8'"
Inputs(9)="/Script/NiagaraEditor.NiagaraClipboardFunctionInput'NiagaraClipboardFunctionInput_9'"
ScriptVersion=93E177CC4236B42CF1E8938307C2E247
End Object
Functions(0)="/Script/NiagaraEditor.NiagaraClipboardFunction'NiagaraClipboardFunction_0'"
End Object
Hey thanks for the reply.
You can actually just change it back to the previous version from the button on the top right (the yellows squigglies remix sign)
1 Like