Search Unity

Chrome crashes even with empty project ('Aw, Snap!')

Discussion in 'Web' started by robrab2000-aa, Apr 4, 2019.

  1. robrab2000-aa

    robrab2000-aa

    Joined:
    Feb 8, 2019
    Posts:
    117
    We are having issues with Chrome crashing unity WebGL builds even with a completely new/empty project. It seems to happen at the end of loading Unity. (Unity 2018.2.17f1)

    It doesn't happen every time but if you refresh it like 10 times in a row then it crashes at least once.

    We've been trying to debug it but the profiler wont connect to it because the engine hasn't started running yet. Here is the message we get:


    Is anybody else getting this. (it happens running from an online server and also when run on a local webserver such as WAMP.
     

    Attached Files:

  2. MNNoxMortem

    MNNoxMortem

    Joined:
    Sep 11, 2016
    Posts:
    723
    Increase the initial memory size in the player settings to 512 and test it again.
     
    robrab2000-aa likes this.
  3. robrab2000-aa

    robrab2000-aa

    Joined:
    Feb 8, 2019
    Posts:
    117
    Thanks, I did that and it still was happening :(

    One of the devs on our team actually worked it out this morning. It only happens if you have the chrome dev tools open while loading the page. If you do not have dev tools inspector open then it doesn't crash.

    I guess it must be an issue with how unity writes stuff out to the console, or perhaps an issue with the dev tools profiling the memory or something?
     
  4. MNNoxMortem

    MNNoxMortem

    Joined:
    Sep 11, 2016
    Posts:
    723