Hello everyone,
I’m having trouble with my Unity WebGL build right now. The build was only about 30 MB at first, but when it runs,
it shoots up to about 800 MB, and when you play, it finally reaches about 1.6 GB. This seems over the top, particularly for a WebGL build.
Here’s a breakdown of what’s happening:
Initial build size: ~32MB
Memory usage after startup: ~800MB
Memory usage during gameplay: ~1.6GB
After looking through the scenes and assets, I’m still not sure what’s causing this extreme memory spike.
Has anyone had a similar problem or found a way to maximize WebGL memory usage?
Some details:
Unity Version: Unity 6.0.1f1
Using Assetbundles: Yes
Platform: WebGL
Browser: Chrome
Scene contents: The first scene is launched in order to download the asset bundles from the server. 120 MB make up the bundle size.Once the download is finished, launch the content scenes.
Any advice or suggestions would be greatly appreciated! Thanks in advance.