When i choose the Import Type is Asset Bundle,How can I play a sound?

Hello!When i choose the Import Type is Asset Bundle, Then use the code RuntimeManager.LoadBank(textAsset); and run unity ,The last error BusNotFoundException: FMOD Studio bus not found ‘bus:/’ .
Please tell me the correct way to use it,thanks!

Make sure to load the MasterBank.strings and MasterBank first.

You may still get the “bus not found” until the mentioned banks have been loaded, due to Unity calling OnApplicationPause when the game starts. This shouldn’t stop the game or sound from working and we are looking into fixing this in a future release.

1 Like

This is great for those who does not have time to read APIs xD