I’ve got a game scene with apprx. 15 enemy entities, each containing and playing a SoundEffectVPlay component.
Those enemies are killed and spawned on a high frequency. Especially on iOS I see a performance issue, as the UI lags, when those entities get killed. Even “pooling” the entities does not relax the situation.
Obviously the SoundEffectVPlay derives from the Qml SoundEffect Element, which shows the same flaws. The Qt doc says, that SoundEffect Items are to be used carefully and in general an Audio or MediaPlayer item is to be used. But unfortunately those items show issues when trying to load resources(QTBUG-36175).
Is there a workaround or a fix maybe?
Thanks in advance,