Normcore Voice in Unity WebGL
Can I ask if normcore voice can run on Unity's WebGL version?
11 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.
It’s worth noting Normcore’s voice for webgl is in private alpha and we’re not accepting new participants for the foreseeable future
unfortunately the feature has been deprioritized somewhat due to lack of demand from customers
Thank you for informing me
@maxweisel
Hello! I heard that the priority of Normcore’s WebGL voice feature has been lowered, but do you think there’s any chance it will be planned within the next year?
I personally believe there’s significant potential demand for it!
Don’t you think so too, Đạt?
Hi @Max - how do I sign up for private alpha for WebGL voice? I have a usecase that requires this feature and I would like to understand in the short term whether it's possible to continue developing for WebGL (with this alpha version) or whether I should change course and try to ship to iOS.
unfortunately, we’re not accepting new folks for the webgl alpha at this time.
Is there a version of the main SDK that has working voice in WebGL? Or has it always not worked? I ask because the docs make it seem like only voice spatialization isn't working for WebGl, but (nonspatialized) voice should work. https://docs.normcore.io/platforms/webgl
WebGL | Normcore Documenation
Normcore WebGL support is designed to allow any Normcore project to be compiled for WebGL with no modifications to the source project. WebGL applications are treated as a first-class citizen and given the same network performance as native Normcore applications.
It always required Normcore Private or access to our webgl alpha servers. I saw your email come in. I'll send you a reply there with more info.
Hi @Max
I have just sent you an email about normcore voice on webgl. Our development team also needs to use it, so I would be grateful if you could take a look when you have a moment. Thank you very much.
will reply today or tomorrow