Description

AudioComponent generated by SpawnSoundAtLocation is can't destroy with DestroyComponent.
When AudioComponent is generated, "AudioComponent-> bAllowAnyoneToDestroyMe" must be "True".

Steps to Reproduce

1. Execute SpawnSoundAtLocation.
2. Destroy AudioComponent with DestroyComponent.
At this time, output this error log.

LogActorComponent:Error: May not destroy component AudioComponent /Game/Maps/UEDPIE_0_MyMaps.MyMaps:PersistentLevel.WorldSettings_1.AudioComponent_0 owned by WorldSettings /Game/Maps/UEDPIE_0_MyMaps.MyMaps:PersistentLevel.WorldSettings_1.

Have Comments or More Details?

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

1
Login to Vote

Fixed
ComponentUE - Audio
Affects Versions4.164.17
Target Fix4.19
CreatedOct 25, 2017
ResolvedNov 23, 2017
UpdatedApr 27, 2018