Importing Xbox One and PS4 Banks to Unity

Hi,

I’m having a few issues with Fmod Studio Banks for the Xbox One and PS4 platforms, while using Unity 5.
I’ve been going through the UE4 integration documentation and I’m finding things to be quite straight-forward with that engine, but I’m finding it hard to replicate that in Unity. When I select “Import Banks” from the drop-down FMOD menu in Unity, only the Mac/Pc/Linux banks are imported to the “Streaming Assets” folder. How can I also import the XBox and PS4 banks which I’ve built in Fmod Studio?

By the way, I have already imported the “PS4” and “XBoxOne” folders to the “Plugins” folder, in Unity.

Thanks.

Platform specific bank workflow for the unity integration is not ideal (and we have plans to improve in down the road).

Create the file Assets/Plugins/FMOD/PlatformDirectories.txt and add one entry per line in the format unityPlatformName:fmodSubDirectory

e.g.

Standalone:Desktop
PS4:PS4
XboxOne:XboxOne
Android:Mobile
iOS:Mobile

After you switch the platform in unity, selecting “Refresh Event List” in the FMOD menu will import the new platforms banks into the “Streaming Assets” folder.

Thanks!

I haven’t tested switching to XboxOne/PS4 yet, but I’ve just tried switching the platform for iOS and it’s working like a charm :slight_smile:

Cheers.

I had same problem and now it’s working!
But I don’t understand one thing: if the UnityPlatformName is a Unity Standard, and so are the FMOD platform-related subdir names, why didn’t you include this txt file into plugin package??

strange.

thanks
Gianni