Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Bug After updating to Unity 2022.2.20 I can't no longer build my WebGL app

Discussion in 'WebGL' started by cvezina, May 24, 2023.

  1. cvezina

    cvezina

    Joined:
    Aug 18, 2015
    Posts:
    5
    I was able to build with 2022.2.19 without errors. I got the same error on a Mac or a Windows PC.

    I got this message:

    Internal build system error. Backend has requested a buildprogram run 6 times.
    UnityEditor.EditorApplication:Internal_CallGlobalEventHandler () (at /Users/bokken/build/output/unity/unity/Editor/Mono/EditorApplication.cs:474)
     
    makaka-org likes this.
  2. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    4,053
    When you go back to 2022.2.19 (make a project copy and delete Library) does the error go away?
     
  3. oukaichimon

    oukaichimon

    Joined:
    Mar 9, 2015
    Posts:
    2
    Me too.
    And when I go back to old versiton, I can build.
     
  4. cvezina

    cvezina

    Joined:
    Aug 18, 2015
    Posts:
    5
    I have downgraded to 2022.2.19 and the problem was still there. Also with 2022.2.20 and 2022.2.21.

    With 2022.2.18 everything is back to normal. Furthermore, the build time is much faster.

    So, since build 2022.2.19 it seems that WebGL build is broken somehow and the build time is catastrophic.
     
    nxtboyIII likes this.
  5. unityruba

    unityruba

    Unity Technologies

    Joined:
    Nov 6, 2020
    Posts:
    233
    I know it's not the answer you want, but a bug report is the fastest way for us to take a look at these issues. It's hard to keep track without a centralized place with all the info, and that's how bug reports help us speed this process up.
     
    makaka-org likes this.
  6. tmars

    tmars

    Joined:
    Jul 26, 2013
    Posts:
    42
    same here, "Internal build system error. Backend has requested a buildprogram run 6 times." since 2022.2.19
     
    Epiplon likes this.
  7. Epiplon

    Epiplon

    Joined:
    Jun 17, 2013
    Posts:
    50
    Same with me, it happens even on Cloud Builds.
    What the logs shows are several shader errors written "'FallbackError' not found" inside the URP package.

    Edit: reverting back to 2022.2.18 solved the issue.
     
    Last edited: May 29, 2023
  8. tmars

    tmars

    Joined:
    Jul 26, 2013
    Posts:
    42
    no luck with 2022.3.0 LTS,

    *** Additional run caused by: timestamp change of Library/Bee/artifacts/WebGL/build/debug_WebGL_wasm/build.wasm
    ..
    Internal build system error. Backend has requested a buildprogram run 6 times.
     
  9. DreamcatcherProduciton

    DreamcatcherProduciton

    Joined:
    Sep 29, 2016
    Posts:
    32
    Having the same issue. 2022.2.18 is working, though.
     
  10. unityruba

    unityruba

    Unity Technologies

    Joined:
    Nov 6, 2020
    Posts:
    233
    We tested opening a project in 2022.2.18 and then upgrading it to 2022.2.22f and had no issues. A bug report with a repro would help us see if there's anything we're missing :)
    Otherwise, I would say delete your Library or any artifacts directories, reopen the editor, and try opening your project again.
     
  11. unityruba

    unityruba

    Unity Technologies

    Joined:
    Nov 6, 2020
    Posts:
    233
    MR_Development, fxlange and tmars like this.
  12. nxtboyIII

    nxtboyIII

    Joined:
    Jun 4, 2015
    Posts:
    261
    Having this same issue!
    EDIT: I'm on 2022.3.0f1 LTS
     
  13. ariel_coppes

    ariel_coppes

    Joined:
    Oct 30, 2022
    Posts:
    5
    Same here, tested with 2.19f1, 2.20f1, 2.21f1 and now with 3.0f1 and cant build in any of those.

    UPDATE: I managed to reproduce the issue with the just released 2022.3.0f1 LTS version in an almost empty project and created a bug report. I hope it could work as more data to fix it @unityrub
     
    Last edited: Jun 2, 2023
    MR_Development and fxlange like this.
  14. fxlange

    fxlange

    Joined:
    Dec 20, 2016
    Posts:
    42
    Same issue here after upgrading from 2022.2.12 to 2022.3.0
     
  15. unityruba

    unityruba

    Unity Technologies

    Joined:
    Nov 6, 2020
    Posts:
    233
    The fix landed in 2022.3.2f1, please update to that and report back if you run into any issues :)
     
    makaka-org and De-Panther like this.
  16. nxtboyIII

    nxtboyIII

    Joined:
    Jun 4, 2015
    Posts:
    261
    I don't see a 2022.3.2f1 on the releases page, latest I see is 2022.3.0
     
  17. unityruba

    unityruba

    Unity Technologies

    Joined:
    Nov 6, 2020
    Posts:
    233
    Oh, my bad, I should've been clearer: once that version is released, please update to it! I can't remember offhand how often these releases go out o_O
     
  18. ariel_coppes

    ariel_coppes

    Joined:
    Oct 30, 2022
    Posts:
    5
    Ok, here is the public issue of my bug report https://issuetracker.unity3d.com/is...em-error-when-name-files-as-hashes-is-enabled

    Hope it is really fixed in .2f1 once it is released, I have the bug report project, I suppose I can easily test it as soon as .2f1 is released.
     
  19. oukaichimon

    oukaichimon

    Joined:
    Mar 9, 2015
    Posts:
    2
    Thak you !
    I can build !!!!!!
    bug was Fixed !!!
     
  20. nxtboyIII

    nxtboyIII

    Joined:
    Jun 4, 2015
    Posts:
    261
    in what version of unity?
     
  21. ariel_coppes

    ariel_coppes

    Joined:
    Oct 30, 2022
    Posts:
    5
    2022.3.2f1
     
  22. makaka-org

    makaka-org

    Joined:
    Dec 1, 2013
    Posts:
    873
    "No Access - You don't have permission to view this portal."

    P.S. Unity 2022.3.6 can build for WebGL on Mac with M2. Tested with Sensor Camera.