Normcore Voice in Unity WebGL
Can I ask if normcore voice can run on Unity's WebGL version?
2 Replies
Hi @Trần Tiến Đạt. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
Yes—with a caveat.
- Normcore voice does run in WebGL builds, but audio playback is handled by the browser rather than Unity’s audio engine. That means features like Unity-based spatialization (via AudioSource/FMOD) aren’t available on the web. [WebGL]
- On native platforms, RealtimeAvatarVoice uses Unity’s AudioSource and you can configure spatialization there, but on WebGL this isn’t supported because Unity’s FMOD audio backend doesn’t run in browsers. [Voice Chat; WebGL] So, voice chat works in WebGL, but expect non-spatialized playback handled by the browser. If you’re testing locally, be sure to serve over HTTPS (or a local dev server) so the browser grants microphone/WebRTC access. [WebGL] ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
- On native platforms, RealtimeAvatarVoice uses Unity’s AudioSource and you can configure spatialization there, but on WebGL this isn’t supported because Unity’s FMOD audio backend doesn’t run in browsers. [Voice Chat; WebGL] So, voice chat works in WebGL, but expect non-spatialized playback handled by the browser. If you’re testing locally, be sure to serve over HTTPS (or a local dev server) so the browser grants microphone/WebRTC access. [WebGL] ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
<@1152048129353461810> Kapa.ai is still learning and improving, please let me know how I did by reacting below.