Search Unity

Getting incredibly slow WebGL build times on some projects, but not others???

Discussion in 'Web' started by Arowx, Apr 15, 2021.

  1. Arowx

    Arowx

    Joined:
    Nov 12, 2009
    Posts:
    8,194
    I've tried changing the Anti-virus settings to exclude the build folders and Unity installations, but this is very weird behaviour???

    Some projects build fine to WebGL but still take a few minutes and others seems to get stuck in a loop using up very little processing power but not moving forward.

    Starting to think my PC is compromised and someone is just F***ing with me!

    Anyone else getting strange build behaviour between WebGL projects?

    Could I be missing some cache or temp folders that are used in the build process where my Anti-virus will kick in and slow things down to a crawl?
     
  2. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,442
    do you have compression enabled in build settings? (i've had brotli builds take over 1hr..)
     
  3. Arowx

    Arowx

    Joined:
    Nov 12, 2009
    Posts:
    8,194
    It's grinding to a standstill in earlier phases e.g. IL2CPP just seems to be very slow but use up very little processing power!?

    Actually just running a test build and stripping assemblies seems to be incredibly slow or a failure point!
     
    Last edited: Apr 15, 2021