Hello,
when i spawn a blueprint with a box collision, and then On Actor Overlap Event spawn a character, or a sound cue, the event processes three times (sometimes more). And this also happens when just executing a function for that blueprint’s Event Begin.
Event setup for box collision
Here the default audio component highlighted, and Event Begin Play loads the function once to spawn the boss character.
The SpawnBoss function
The corresponding spawned character blueprint does not contain any spawning of the same character, and the same setup is used elsewhere, without that issue.
The part which initially spawns the blueprint with the triple loaded character (via game mode)
Additional adding an audio component to the blueprint (which spawns at runtime), also loads three or more audio files from the associated music cue.
I tried to use DoOnce nodes, but didn’t help. Also tried to just activate the audio component on trigger, still plays three songs at once.
Any ideas why this is happening?
Demo video - YouTube