4 ms·
Yeah but the fact is that it works today, and will only get better and faster with time.
by astlouis44 2y ago
Yeah but the fact is that it works today, and will only get better and faster with time.
- flohofwoe 2y agoI bet there's a lot of cheap wins by bundling all those tiny files in a few bigger ones. But minimizing the WASM blob for a humongous native engine like Unreal Engine 5 sounds like a real challenge. Even when this is reduced by 90% it's still 10x bigger than Unity's web output, which is 10x bigger than a specialized WASM game engine designed for the web as "first class citizen". I have higher hopes for the web people (like PlayCanvas, Babylon, threejs, etc...) writing a proper WASM game engine by "scaling up" their experience of building browser rendering engines, than the traditional "native game engine" people "scaling down" to web requirements (especially when it comes to time needed to start into the game - the entire asset loading system of native engines needs to be rebuilt from scratch for this).
- astlouis44 2y agoWe've actually managed to reduce the WASM runtime for UE5 to just 8MB compressed. In regards to downloading assets, we've built out an asset streaming system to address this. It allows you to dynamically load in just what you need, when you need it, while everything else that isn't needed right away can be fetched at runtime.
- ge96 2y agoIntroducing the cdn of pre built wasm blobs...
- jsheard 2y agoI remember the experience of Unreal Engine demos compiled to asmjs a decade ago being more or less the same, taking absolutely forever to load before anything happens. It doesn't feel like much progress has been made on that front.
- astlouis44 2y agoTry these demos instead (Unreal Engine using WebGL 2.0) https://vehiclegame.tiwsamples.com/ https://vehiclegame.tiwsamples.com/ https://topdown.tiwsamples.com/ https://topdown.tiwsamples.com/
- jsheard 2y agoThose aren't as bad, about 20 seconds to get going from a cold cache. Car Configurator is incredibly slow though, I timed it at about 8 minutes to load from scratch and when it finally got there it was unusably laggy until I refreshed and let it start again with a pre-warmed cache. According to Chromes internal task manager the CarConfig tab is continuously using about 500% CPU (i.e. five entire cores) and 5GB of RAM despite very little going on in the demo. This is on a current-gen desktop processor.
- verticalscaler 2y agoThat's pretty neat, not much in the way of progress bar for me but they load in about 30 seconds. And it seems a little choppy at times but playable. Reminds me of late stage flash era games.
- troupo 2y ago> Yeah but the fact is that it works today, and will only get better and faster with time. And your assumption is based on what exactly? WASM + WebGPU don't magically make the whole game, its assets and the engine it uses appear on your computer.