Search Unity

WASM getProgramParameter Freeze

Discussion in 'Web' started by btristan, Dec 19, 2018.

  1. btristan

    btristan

    Joined:
    Oct 15, 2018
    Posts:
    95
    I get some really bad (2-10 second) freezes in my WebGL build. Here is a screenshot of the profiler from Chrome:
    Screen Shot 2018-12-18 at 21.48.09.png

    Does anybody know what this is and how I can make it stop causing these freezes?
     
  2. btristan

    btristan

    Joined:
    Oct 15, 2018
    Posts:
    95
    I hate to bump, but does anyone know what is causing this?
     
  3. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,654
    could you please submit a bug report and post the bug number here?
     
  4. btristan

    btristan

    Joined:
    Oct 15, 2018
    Posts:
    95
    Bug number: 1115128
     
  5. kostas-vs

    kostas-vs

    Joined:
    Sep 6, 2014
    Posts:
    4
    In case it helps anyone finding this post, have a look at the relevant suggestion in this post (essentially, disable instancing in all your materials).