Search Unity

  1. We would like to hear your feedback about Unity and our products. Click here for more information.
    Dismiss Notice

Can't build to WebGL at all on main desktop machine (Win X64)

Discussion in 'WebGL' started by Caolan, Jun 11, 2019.

  1. Caolan

    Caolan

    Joined:
    Dec 20, 2012
    Posts:
    11
    I can't build any WebGL projects on 2019.1.5f1 (stable), the 2019.2.01b or the 2019.23.0a11.

    With each of these Unity installs, building for WebGL crashes at IL2CPP compilation causing BSOD 100% of the time. Even with blank projects.

    I have built my current project on an alternate machine with no issue, so I don't think it's anything to do with the project, and like I said, it happens with blank projects too.

    The BSOD returns a kernal error, or a paging error most of the time.

    I have tried reinstalling the C++ development tools through visual studio 2019, but it made no difference.

    Anyone any ideas?
     
  2. JJJohan

    JJJohan

    Joined:
    Mar 18, 2016
    Posts:
    189
    During the compile it'll hit the CPU pretty hard, often maxing out the cores - it sounds like you might have a hardware issue (overheating possibly) with that machine. Try running a stress test for the same amount of time it takes for it to blue screen during a WebGL compile (Prime95 is a popular one) or so and see if it blue screens during that to rule out Unity (it really shouldn't be able to cause blue screens)
     
    Caolan likes this.
  3. Caolan

    Caolan

    Joined:
    Dec 20, 2012
    Posts:
    11
    You were so right, the comp went through the stress test just fine, but I bumped my overclock down anyway and everything is right as Reagan again <3