RonJames
RonJames4mo ago

WebGl

Is there a guide somehwere on how to setup for WebGL? We're having issues getting things running in webgl. We're on unity 6. Theres mention of a special plugin we potentially need to get
7 Replies
kapa.ai
kapa.ai4mo ago
Hi @RonJames. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- Yes, there is a guide for setting up Normcore projects for WebGL. The official documentation provides step-by-step instructions: 1. Import the Normcore WebGL preview package into a fresh Unity project (using the latest Unity LTS version). 2. Wait for Unity to compile and import the Normcore UPM Package. 3. Open the "Realtime + Hoverbird Player" scene as a starting point. 4. Make sure your NormcoreAppSettings asset has a valid app key and matcher URL (the matcher URL should point to a cluster that supports WebGL preview audio channels). 5. Export a WebGL build and open it in two browser windows to test multiplayer functionality. The guide also covers common issues, such as browser restrictions on WebRTC and microphone access, and notes that Unity's FMOD audio engine does not run on the web, so voice chat audio is played directly through the browser. You can find the full guide here: Platforms > WebGL. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai4mo ago
<@378869779668140042> Kapa.ai is still learning and improving, please let me know how I did by reacting below.
RonJames
RonJamesOP4mo ago
is there a special plugin i need
RonJames
RonJamesOP4mo ago
No description
maxweisel
maxweisel4mo ago
No you shouldn’t need a special plugin anymore. My guess is something is broken with Unity 6. Are you able to try on 2022 LTS? I think Unity 6 upgraded the emscripten version which breaks all of the old webgl APIs. I don’t know if we have a good solution yet
Fazza
Fazza4mo ago
Please keep us updates as to when a solution is found and when we can try out unity 6 again. 2022 LTS is working as expected
maxweisel
maxweisel4mo ago
will do!

Did you find this page helpful?