Unity has issues indeed, unfortunately. The developer experience is shit. If you want to mitigate the user experience, you can use our open-source optimization package: https://github.com/CrazyGamesCom/unity-optimizations-package (feedback welcome!)
(Practically, both are low level APIs and you'll probably be using something that can reasonably easily switch between WebGL2 and possible future WebGPU backends once they finish the spec and implementations start shipping and stabilizing and waiting for Safari)
(I’m assuming you’re talking about distribution rather than tooling, but I acknowledge the tooling will take a few years to catch up.)
It looks like you're right - the announcement tweet credits threejs and houdini [1]. I measured 13MB downloaded, of which most are fairly bloated "assets" (here's a 3MB blurry png, for some reason [2]), so the "engine" itself looks to be less than 1MB.
[1] https://twitter.com/vlucendo/status/1614983883866390530 [2] https://summer-afternoon.vlucendo.com/assets/images/clouds_t...
That blurry png may be the terrain, height map?
It doesn't have to. The idea is that you'll develop the game as a desktop target, with all goodness such as live editing, and then just export the game to WebGL as a final step.
They announced at their Unite conference a few months ago they were gonna add proper mobile support for it. Nice to see them investing.
Also shameless plug for Spatial.io . With Unity’s URP we can get near AAA visual quality in the browser with our platform.
1 click export from Unity and your scene instantly gets hosted multiplayer, chat, native web/mobile/vr apps, etc.
The future is bright for web and no install! And with App Store’s 30% cut the economic winds are at our back!
I can concur with other comments in this thread that there is something strange going on with iOS and WebGL. Just checking now though, and it does seem to run a little better after the iOS 16 update.
I guarantee this game wasn't built with Unity: 1) Unity bad for building WebGL games. It does multiple conversions to make a WebGL build. Unity offers live editing in its application, but that doesn't apply to web; whereas modern threejs/babylonjs systems offer hot reloads. 2) And Unity is just unpleasant and bloated generally, for the last few years.
Plug for my game[0] if someone wants to see another WebGL experiment (that I devoted 10 years to...better not to ask lol). PS - WebGL supports WebXR, I've been in my world in VR!
0: earth.suncapped.com