Hi, I am using FMOD Studio to build a project in Unity.
-Fmod 2.02.21
-Unity 2023.2.16
In order to share the Unity project I put the built bank files in a folder like this :
-Assets/Game/Sound/Master.bank
-Assets/Game/Sound/Master.strings.bank
I set up this folder into FMOD Settings and it looks ok:
-Source Type: Single platform build
-Path: Assets/Game/Sound
- The Inspector finds the files and shows all info and options properly.
The problem is when playing the game. I get a console error :
[FMOD] RuntimeBankModel::openFile : Failed to open file ‘Assets/Game/Sound/Desktop/Master.strings.bank’
(No sound is played)
Why is it adding ‘/Desktop’ to the path?
If I put the files into ‘Assets/Game/Sound/Desktop’, then the error is :
[FMOD] RuntimeBankModel::openFile : Failed to open file ‘Assets/Game/Sound/Desktop/Desktop/Master.strings.bank’
I found that I can keep the files into ‘Assets/Game/Sound/Desktop’ and put only ‘Assets/Game/Sound’ in the path to the Fmod Settings and the game plays fine (with sound), but the Inspector keeps giving an error message :
“Build path ‘Assets/Game/Sound’ does not contain any built banks.” (and no info or options are shown)
Maybe there is a setting somewhere to prevent the system to add ‘Desktop’ to the path?
Thanks !