FMOD Soundbank Manager UE

I would like to share a system that I wrote for my last shipped game: Possessor(s)

I built a Soundbank Manager that handles both always-loaded and dynamically loaded FMOD soundbanks.

A simple example: If a designer places an enemy in a level, its soundbank loads. When all instances are destroyed, the bank unloads automatically.

No Overthinking!

The system is straightforward:
Attach a component to any actor that needs a specific soundbank, and the manager tracks usage and automatically unloads banks when they're no longer needed. If a component registers the use again, it will load the bank once more; that is the idea!

For always-loaded soundbanks, you define them in a data table, and the manager ensures they persist through the Game Instance lifetime.

It handles synchronous and asynchronous bank loading as well.
It can be adapted to handle different types of actor activation like object pooling.

I've uploaded an improved version as an Unreal Engine plugin here:

https://github.com/horacv/UnrealEngineAudioTools/tree/master/ANS_AudioToolsFMOD/Source/ANS_SoundbankManagerFMOD