AudioComponent generated by SpawnSoundAtLocation is can't destroy with DestroyComponent.
When AudioComponent is generated, "AudioComponent-> bAllowAnyoneToDestroyMe" must be "True".
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.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-51590 in the post.
1 |
Component | UE - Audio |
---|---|
Affects Versions | 4.16, 4.17 |
Target Fix | 4.19 |
Created | Oct 25, 2017 |
---|---|
Resolved | Nov 23, 2017 |
Updated | Apr 27, 2018 |