0
0

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!

UPDATE:

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.

  • Cameron Baron

    Are the banks, in the source directory, marked as read only?

  • Tobias Nylin

    No they are not.

  • Cameron Baron

    Could you try:
    – deleting the StreamingAssets folder competely
    – deleting the Studio build folder completely
    – rebuild Studio
    – see if the integration copies the banks over

    If this does not help, can you tell me the integration version you are using?

  • Tobias Nylin

    Deleting and rebuilding worked, thanks a lot Cameron!

  • You must to post comments
0
0

Are the banks being loaded before you are trying to use the event?
Are you getting any other errors or warnings?

  • Tobias Nylin

    Thanks for the response, see update above.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.