Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Problem with launching the development build.

Discussion in 'Web' started by Uchihagam, May 16, 2018.

  1. Uchihagam

    Uchihagam

    Joined:
    Mar 26, 2017
    Posts:
    7
    Hello,

    When i check checkbox Development before build, then i have problem with execute project on browser(Tested od chrome and Firefox).
    upload_2018-5-16_15-10-29.png

    Currently i waiting about 6 hours and i don't see any progress.
    upload_2018-5-16_15-13-32.png
    Javascript console is empty.
    When i uncheck the checkbox, then it execute correctly.

    Does anyone have any ideas?

    Thanks,
    Paweł
     

    Attached Files:

  2. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,654
    could you check the browser console for errors?
     
    Uchihagam likes this.
  3. Uchihagam

    Uchihagam

    Joined:
    Mar 26, 2017
    Posts:
    7
    I checked javascript browser console, but is it empty.
     
  4. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,654
    Perhaps have a look at the XHR requests in the Network tab.
    how big are the generated files?
     
    Uchihagam likes this.
  5. Uchihagam

    Uchihagam

    Joined:
    Mar 26, 2017
    Posts:
    7
    I checked network tab and size of generated files.

    XHR requests in the Network tab:
    upload_2018-5-17_9-0-38.png

    Files size:
    UnityLoader.js = 187 KB
    webGL.asm.code.unityweb = 151 491 KB
    webGL.asm.framework.unityweb = 988 KB
    webGL.json = 1 KB
    webGL.data.unityweb = 12 217 KB
    webGL.asm.memory.unityweb = 2 910 KB

    webGL.asm.code.unityweb web has 151+ MB.
    It looks like a very large amount of MB.
    There is any possibility to reduce the file size of this(if its required)?
     
  6. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,654
    Is Strip Engine Code enabled?
     
    Uchihagam likes this.
  7. Uchihagam

    Uchihagam

    Joined:
    Mar 26, 2017
    Posts:
    7
    Yes, this checkbox was selected.
    upload_2018-5-17_10-42-54.png