Hey all! This is my first post, feel free to correct me if I’ve posted in the wrong place.
I am running into an issue when I host my FMOD powered Unity game, on Unity Play:
(Sorry for the messed up links, I was having issues posting this otherwise)
https://play.unity.com/mg/other/parkour-pileup
This is a development build, and you can experience the issue immediately upon launching. I load all banks first thing when you play the game. This works on itch[dot]io, my gitlab pages, and when I host the game locally (examples below):
h t t p s : / / dfa-studios . gitlab . io / lego-garage-racing /
(Sorry for the broken up link, I can’t post more than 2 proper links)
I couldn’t find anyone else experiencing this issue through google searching.
Details:
I am using Unity 2019.4.3f1, fmod studio 2.01.05 (Build #112138), and the integration is V 2.01.07
All in the same browser, this build works on all sites except Unity. Unity and Itch[dot]io were uploaded as zip files with whatever the standard compression settings are. The banks are encoded as Compressed Vorbis, with 37% quality, at a 48Khz sample rate.
Here is the error:
BankLoadException: [FMOD] Could not load bank 'Vehicles.bank' : ERR_FORMAT : Unsupported file or audio format.
A bit deeper, I have this error per bank as well:
[FMOD] assert : assertion: 'mRiffChunk.mType == ChunkType_Riff && mRiffChunk.mID == id' failed
If I am missing any details that could help track this bug down, please let me know! The build is there for anyone who needs more information,
Also, I don’t have much wiggle-room when it comes to compression. The unity play build is a unity development build, and therefore it’s very stripped down otherwise it would be well over the 100mb file size limit. As far as I know, Streaming Assets aren’t compressed by Unity. If that’s the case, the audio is only compressed when exporting the bank, and by the zip format. But the itch[dot]io accepted the same zip file and works correctly,
Sorry for the long read! Any help, is much appreciated!
David (ARPP3)