Hi! I have a project and it has a visualizer in it, but it doesn’t work in the browser, it only works in edtor
in browser
in editor
why he didnt work?
Hi! I have a project and it has a visualizer in it, but it doesn’t work in the browser, it only works in edtor
in browser
in editor
why he didnt work?
First, there’s no images uploaded. Secondly, both links are the same. Finally, just know that WebGL projects need to be hosted on a webserver to work on most browsers and can’t be launched locally, for most browsers.
HI, he launching in firefox. i update link. Sorry, but imge not working.
Media is usually handled by the browser, to allow for device acceleration and also because modern browsers all have settings to block auto-play media… Chances are your Unity listeners aren’t working because your browser is playing the music ‘natively’ (using the device hardware).
thanks
@wetcircuit likely has the right impression here. On the web, audio sample data does not flow through JavaScript/WebAssembly due to high performance/low-latency timing requirements. Instead, the browser directly handles the timing-sensitive playback.
One thing I am curious about is what Unity C# APIs you have used to implement the visualizer? If there is a Audio sample related Unity C# API that is not working out in web builds, we should probably add a documentation about that on our web page to make sure people can find out about the limitation.