Hi! In the Unity editor the sound works as usual but when I run a build of the game it crashes and I get this error:
“EventNotFoundException: FMOD Studio event not found ‘event…’”
The “StreamingAssets” folder has been copied to the build data folder and the “Master Bank.bank” and “Master Bank.strings.bank” is inside it.
Help with this would be much appreciated!
The issue seems to be that it doesn’t copy over the newest banks to the build folder. Because the size of the Master Bank in the project is 669 kB but in the build it is only 22 kB.
We’re using Perforce as source control and that seems to be the problem. First I thought it was because the files were not checked out, but now I tried to check them out but it still can’t copy the files to the build folder.
In the editor we’re getting this error:
UnauthorizedAccessException: Access to the path “FMODAssets\Desktop//Master Bank.strings.bank” or “D:/PerforceGameProject3/2018_GP3_Team_1/GameProject3/Assets/StreamingAssets/Master Bank.strings.bank” is denied.