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 seems broken in 5.1.1p2

Discussion in 'WebGL' started by Arowx, Jun 26, 2015.

  1. Arowx

    Arowx

    Joined:
    Nov 12, 2009
    Posts:
    8,194
    + Builds are smaller.
    - Builds crash with an error.

    It mentions the NetworkManager but I do not use any networking/multiplayer in any of the games I have tested.
     
  2. cojo71

    cojo71

    Joined:
    Aug 19, 2014
    Posts:
    26
    Also seeing this in 5.1.1p2. Tried adding it to link.xml and that did not help.

    It would appear that whatever the team did to fix this issue in iOS il2cpp (it is specifically called out there) broke it in WebGL il2cpp.
     
    StratosV likes this.
  3. tomekkie2

    tomekkie2

    Joined:
    Jul 6, 2012
    Posts:
    949
    I am also getting the same.
     
  4. Arowx

    Arowx

    Joined:
    Nov 12, 2009
    Posts:
    8,194
    Update If I disable nearly all of the settings e.g. batching/stripping ect I can occasionally get it to work.

    I have been trying to figure out if it's one specific setting that triggers the error, but it was getting late on a Friday :rolleyes::D
     
    Stranger-Games likes this.
  5. yuliyF

    yuliyF

    Joined:
    Nov 15, 2012
    Posts:
    188
    yep, 5.1.1p2 is broken
     
  6. StratosV

    StratosV

    Joined:
    Sep 15, 2014
    Posts:
    2
    yes same 5.1.1p2 is broken.
     
  7. Arowx

    Arowx

    Joined:
    Nov 12, 2009
    Posts:
    8,194
    Just built a new game with default settings and it worked. Sticking with the default settings seemed to work on this project.
     
  8. jonas-echterhoff

    jonas-echterhoff

    Unity Technologies

    Joined:
    Aug 18, 2005
    Posts:
    1,666
    Ugh, yes, it appears that a stripping bug slipped into the patch release. We will get a fix in ASAP.
     
  9. Ortath

    Ortath

    Joined:
    May 22, 2014
    Posts:
    7
    Any news on this yet? I am running 5.1.1p2. I want to do a webgl font test using Textmesh Pro to generate a fancy logo I can eventually embed in a website and I am getting this error. Also I am unsure which stripping level to use. All I have in the scene is text mesh.
     
  10. Arowx

    Arowx

    Joined:
    Nov 12, 2009
    Posts:
    8,194
    5.1.1p3 fixes this bug (*note any patch release may also introduce other bugs).