Hi!
I have a problem, regarding controlling audio via variant-Set.
My scene contains a house with an audio volume inside.
There are outside and inside sounds, controlled by that. (soundclass “use ambient”)
The sounds outside are silent, when the camera is insode the house, and vise versa.
I have 3 sounds outside the house, which should turn “off” and “on” via variant set.
The variants are being switched by 3 widget buttons, I can press while playing.
Each set controls the lighting and turns the" volume multiplier" from two of the three sounds to zero. (Daylight/Sunset/Night)
Everything works fine in editor.
When I package the game, the first state “Daylight” is correctly loaded, but my buttons do not trigger the soundmultipliers anymore.
The lighting still changes correctly. It´s only the audio which would not work in the variant manager anymore.
…I tried to place the audio-soundwaves inside blueprints, or used Audio-Cues instead.
Both ways do not work in packaged game.
Thank you for any help!
Best
Peter