Good evening everyone, I hope you can help me. I am currently making a WebGL game and want to launch it for testing but. So far there is only 1 character controller and a surface included but after the build I have a .data file that is 170 MB in size. Unfortunately I can not provide the game because no file may be larger than 100 MB. Do you have a solution for this? If I use LFS in GitHub it does not work on Netflify either.
It should not be this big. An empty project when built for WebGL is about 5-6 MB without any tweaks. By disabling packages and modules and some other optimizations you can get down to 2 MB and below.
See here for an example and some tips: WebGL builds for mobile page-2#post-9021013
The thread has even more valuable content about optimizing WebGL build size.
if you look in your editor log after the bulid you can see if there are any odd big things in there