Search Unity

Bug Can't build webgl project ever again after you cancel it

Discussion in 'Web' started by Marks4, Mar 6, 2021.

  1. Marks4

    Marks4

    Joined:
    Feb 25, 2018
    Posts:
    550
    If you cancel a webgl build process when it's on the phase "Building native binary with IL2CPP..." you will never be able to build that project again, getting the following error:
    upload_2021-3-6_18-56-58.png
     
    Last edited: Mar 6, 2021
  2. Marks4

    Marks4

    Joined:
    Feb 25, 2018
    Posts:
    550
    The solution is to delete the folder Library\Il2cppBuildCache under your project's folder. You need to restart your computer to be able to delete this folder.

    @jukka_j please fix this
     
  3. De-Panther

    De-Panther

    Joined:
    Dec 27, 2009
    Posts:
    589
    I don't think that you have to restart the computer, just make sure to close both the current Unity project and quit Unity Hub. (And make sure that none of them is running on background)
     
  4. Marks4

    Marks4

    Joined:
    Feb 25, 2018
    Posts:
    550
    I tried closing everything using the task manager even. Nope. Tried logging off. Nope. Only after restarting the computer.
     
    De-Panther likes this.