Loaded banks as TextAsset returns null path

Hi there,

I had a fully working implementation of FMOD, I would load a bank and find events by path. After trying to implement Addressables and changing the FMOD import type to Asset Bundles, loading banks as Text Assets now gives me null paths.

  1. Addressables bundles are loaded and the default event emitter works just fine.
  2. Event linkage is already set to “Path”.
  3. Tried using RuntimeManager.StudioSystem.lookupPath(guid, out path) with no success.
bank.getEventList(out EventDescription[] eventDescriptions);
// Print every event path
foreach(var e in eventDescriptions)
{
	e.getID(out FMOD.GUID guid);
	RuntimeManager.StudioSystem.lookupPath(guid, out string path);
	Debug.Log(path);
}

Hi,

Would it be possible to get some more info:

  • Unity version
  • FMOD integration version
  • The full script you are using to load the banks

If you add an FMOD Engine | Core API Reference - FMOD_RESULT to the getEventList is it returning any errors?

FMOD.RESULT result = bank.getEventList(out EventDescription[] eventDescriptions);
Debug.Log($"{result}")'