The problem of no sound and no channels running on webgl,when I replace the bank files with my project.
LaoLeo opened this issue · 3 comments
Hi, I have trouble when I replace the bank files with mine project to build on webgl,and that was no sound and no channels running.
I had change the code to load my bank file, and no error on webgl runtime. Also, I had verified that the code works properly on Editor:
I think the cause is not in the code. It may be in the bank file or the build parameters of fmod studio.
Thanks for your suggestions!
Hi,
The FMOD Forums is the best place to go to when looking for help.
Unfortunately, I was not able to reproduce the issue.
What version of FMOD and Unity are you using and can you share the code you changed to load your banks?
Thanks for your reply. @Connor-FMOD
Yesterday I found the cause of the problem.
The bank files of my project uses encryption, which is incompatible with the loadBankMemory API, and the loadFromWeb function on WebGL just calls loadBankMemory.
I found this from FMOD Docs - 13.13 Cannot FMOD_OPENMEMORY_POINT encrypted data.
Thanks for your time again!
Awesome, thank you for sharing the solution!