Source: UDN ticket
Stepping through, when SetSubmixSendSettings() is called on the SubmixSendVolumeComponent, the SubmixSendSettings on the Component initially get changed before the NotifyDataChange() is called.
However, when the FProxyMutator_SubmixSend::Apply() runs, the SubmixSendSettings have not updated and will revert back to whatever was set initially (manually in the editor on the component itself)
Workaround to exit the volume and re-enter after calling ::SetSubmixSendSettings on the volume component does not seem to work either.
1) Create base AVolume or AActor class
2) Create and add USubmixSendVolumeComponent to it, the send option set to Manual in this case.
3) In tick create new TArray<FAudioVolumeSubmixSendSettings> with new SendLevel, MinSendLevel, MaxSendLevel, MinSendDistance, MaxSendDistance, call SetSubmixSendSettings(NewSettings). Or just try and call SetSubmixSendSettings() once the game is running somewhere.
4) Observe in the SubmixSendVolumeComponent the new settings are set in SetSubmixSendSettings(), but have not persisted/updated when Apply() is called
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-184065 in the post.
0 |
Component | UE - Audio |
---|---|
Affects Versions | 5.1 |
Target Fix | 5.3 |
Created | Apr 24, 2023 |
---|---|
Resolved | Apr 26, 2023 |
Updated | Jun 27, 2023 |