karting microgame stutters when playing through browser

Hey all, I’m new to Unity and coding. Just uploaded my entry for the karting microgame challenge and, unfortunately, it stutters when playing on the Unity Connect site. I’ve googled around a bit to see if this is something endemic to WebGL, or just my machine, but if anyone has experienced this or has insight, it would be much appreciated.

Thank you!

how did you build it mine still won’t build for webgl, and I followed the videos. Also, try changing the material for some of the things because they are very dense meaning it takes a while for them to render.

Hey @localcoder2 , I can’t recall what’s in the video, so apologies if you tried all this already, but:

  1. Go to File>Build Settings
  2. Make sure all necessary scenes are in the “Scenes in Build” window, and listed in the correct order
  3. Make sure the platform selected is WebGL. If it’s not, click on WebGL and then click “Switch Platform” at bottom right. If you don’t have WebGL installed, you’ll have to do that via Unity Hub first.
  4. Click “Build.” That was the whole process for me. It was pretty much automatic after that.

I think you’re probably right about the materials–I have a lot of transparent stuff, it was probably too render-heavy.