Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.

    Read our full announcement for more information and let us know if you have any questions.

Question WebGL Build and Publish Error [10:41:27] Building Library... failed with output

Discussion in 'Web' started by HamClinton, Nov 3, 2023.

  1. HamClinton


    Oct 31, 2023
    I am using Unity 2022.3.12f1 and I have the WebGL Publisher 4.2.3 package installed.

    When I select Publish > WebGL Project > Build and Publish I get the following error:

    [10:41:27] Building Library\Bee\artifacts\WebGL\ManagedStripped failed with output:
    C:\Program Files\Unity\Hub\Editor\2022.3.12f1\Editor\Data\il2cpp\build\deploy\UnityLinker.exe @Library\Bee\artifacts\rsp\6451757432521902355.rsp


    In the selected folder location, I have:
    > Build
    >> Builds.loader

    > TemplateData
    >> 12 files


    When I open the .html file, there's an error message that says "Unable to load file Build/Builds.framework.js.gz! Check that the file exists on the remote server. (also check browser Console and Devtools Network tab to debug)".


    I am fairly junior at programming, so if you know a fix, please share it as simply as you can. :) Thanks in advance!
    dhtpdud528 likes this.
  2. CodeSmile


    Apr 10, 2014
    Try creating a new project with that editor version and build. If it builds and runs, it's an issue with the project. Otherwise it could be an issue with Unity installation, or quite commonly "security" software that tries to "protect" you from working as a developer.

    You could also try to lower stripping level in Player Settings to see if that makes the issue go away, but if it doesn't, set it back because this can noticably decrease build size. Also there's an editor.log which may contain more details about the build process. Feel free to post that log.