Description

Using the OnAudioPlayback event in Blueprints does not work when playing the audio component its connected to while PIE, after restarting the project.

 

Tested in 4.20.3 (CL - 4369336), 4.21.2 (CL - 4753647), 4.22 (CL - 4932462)

Steps to Reproduce
  1. Open a Blank Blueprint project
  2. Import a WAV file, creating a SoundWave file
  3. Right click the SoundWave and create a SoundCue from it
  4. Create an Actor Blueprint class, named BP_Audio
  5. Add an audio component to your BP_Audio Blueprint
  6. With the audio component selected, add the created SoundCue to the Sound section
  7. In the Event Graph, create an event instance of the audio component's OnAudioPlayback event
  8. Have that OnAudioPlayback event execute a PrintString function, with its In String parameter being Playback Percent float output from the OnAudioPlayback event
  9. Have the BeginPlay event execute the Play function on the audio component

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-69726 in the post.

54
Login to Vote

Won't Fix
ComponentUE - Audio
Affects Versions4.224.234.21.2
Target Fix4.23
CreatedFeb 7, 2019
ResolvedAug 12, 2019
UpdatedAug 12, 2019