Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

WebGL optimizations

Discussion in 'WebGL' started by Kronnect, Apr 21, 2015.

  1. Kronnect

    Kronnect

    Joined:
    Nov 16, 2014
    Posts:
    2,876
    After Chrome dropping support for plugins, I'm really concerned about WebGL build (long build times and size of builds).

    I love Unity, and have invested lot of time and code on it. Just I'm worried because I need to tweak a lot of code and test it on the browser, and each time I need +10 minutes to build and test. I hope at least Cloud Build can add WebGL support and use faster servers to build my code (I didn't see that option yet in my account).
     
    Last edited: Apr 21, 2015
    Andres-Fernandez likes this.
  2. Cascho01

    Cascho01

    Joined:
    Mar 19, 2010
    Posts:
    1,347
    After Chrome dropping support for plugins Unityguys should now invest some more manpower in WebGL - absolutely right.
     
    EasyLow, Andres-Fernandez and arumiat like this.
  3. rameshkumar

    rameshkumar

    Joined:
    Aug 5, 2013
    Posts:
    50
    from the local machine itself its taking too much time to load..any solution to get the performance fast..
     
  4. Arowx

    Arowx

    Joined:
    Nov 12, 2009
    Posts:
    8,194
    There is the build options to build faster but you end up with a potentially larger build size and a slower performing game.

    You could try a ram disk or ssd as the build to location as this would provide faster downloading time for the browser and possibly even faster build times.

    Also more memory or a faster CPU could improve build times.

    UT are working on compressing the build files and decompressing them dynamically on load, this should improve download times.

    As well as improving the build pipeline with faster compiler tools, so in time things should improve.
     
  5. Schubkraft

    Schubkraft

    Unity Technologies

    Joined:
    Dec 3, 2012
    Posts:
    1,067
    As outlined in http://blogs.unity3d.com/2015/06/18/webgl-webassembly-and-feature-roadmap/ and in the sticky roadmap post in the forum we are working to improve our WebGL export option.

    We have top people working on it and we are actively hiring too. That said our WebGL export doesn't live in a vacuum which means we can only move as fast as the browser vendors do when it comes to supporting new features. So us throwing 20 engineers at it won't make it go faster. On the plus side all the big vendors are very committed and want to see WebGL succeed as much as we do.

    WebGL building is on the Cloud Build roadmap but there is no ETA for it yet.