Summary
I tried implementing a new callout system for STB using sound components instead of audio player devices to save on devices, but the sound component is not reliable.
The component seems to trigger when it shouldn’t. Whenever a player walks in a certain area, mutliple sound components that played before will play again all at once, auto play is off and I’m not triggering Play() on the component.
I’m guessing it has something to do with the entity getting unloaded and then loaded again when a player walks up to it, causing it to restart, even tho autoplay is disabled.
We’ve also gotten reports where the audio plays later than intended, whenever a brainrot spawns or gets purchased, it should play the audio instantly, but it is sometimes heavily delayed. I’m setting Presentable to configure which players can hear it, so this might be the reason why but I’m not sure, as I haven’t been able to replicate this issue myself.
Please select what you are reporting on:
Unreal Editor for Fortnite
What Type of Bug are you experiencing?
Audio
Steps to Reproduce
- Create an entity prefab with a custom metasound as sound component
- Spawn 16 of them on game start
- Have a function to play an audio, change the audio wave asset on the component
- Stop the component, set the new sound, set presentable, change the entity’s global transform, play the component
- Run the function multiple times in quick succession to mimic STB
Expected Result
The audio player should play only once for everytime the function gets called, and as soon as the function gets called
Observed Result
The audio players plays correctly, but it can sometimes randomly trigger again without being called, it can be delayed too instead of playing instantly
Platform(s)
All
Island Code
3225-0366-8885
Video
Additional Notes
Attached a discord video of the issue happening.
4344-7577-9725 is the private version of the STB project where this issue occurs.