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 Internal build system error. Backend exited with code after upgrade to 2021.1.4f1 (stable)

Discussion in 'Editor & General Support' started by msh91, Apr 24, 2021.

  1. PizzaPie

    PizzaPie

    Joined:
    Oct 11, 2015
    Posts:
    103
    After updating to 2023.3.25f1 from 2023.1.3f1 keep getting Internal build system error. BuildProgram exited with code -2147024809.
    Project if copied to other location without version control enabled (perforce) builds successfuly for android.

    Anyone getting this one?
    Or is there anywhere a list with internal build errors?
     
  2. Epiplon

    Epiplon

    Joined:
    Jun 17, 2013
    Posts:
    49
    I'm having this problem all of a sudden on 2022.2.19f builds for WebGL and it doesn't tell me what the problem is at all.
    For some reason it works when creating a build through Unity Cloud builds or Windows builds but then I can't reproduce a bug I'm having only with WebGL.
     
  3. DanielSteegmueller

    DanielSteegmueller

    Unity Technologies

    Joined:
    May 3, 2022
    Posts:
    2
    Hey there, as it has been already stated, this thread contains a lot of different problems and possible solutions for them.
    If you get:
    Internal build system error. Backend exited with code 2.
    and you have MacOS 12.3 or higher and probably got this issue after upgrading your OS recently, you need to install python to solve your issue!

    Reason for this is that since MacOS 12.3 python was removed. The fastest way to install python on MacOS is

    1) Open your terminal and type
    2) xcode-select --install
    3) restart Unity

    here is a more detailed answer: https://apple.stackexchange.com/que...e-developer-path-when-attempting-to-use-git-a

    Cheers!
     
  4. abdouljalilagsalah

    abdouljalilagsalah

    Joined:
    May 20, 2023
    Posts:
    2
    Vraiment j'ai constaté ce problème est dû à la mis à jour de sécurité Windows! J’ai activé mon Windows aujourd’hui avec AACT Just avant de rencontrer le problème. Merci !
     
  5. branislavv

    branislavv

    Joined:
    Aug 3, 2021
    Posts:
    6
    Yeah, not for me. I was already on macos 13 and it worked, and then I upgraded unity and it stopped working.
    Also I already had xcode tools installed, so that is not the case.
    Not that it matters much anymore... I gave up unity on mac....
     
  6. tomlugin100

    tomlugin100

    Joined:
    May 6, 2023
    Posts:
    51
    I did the same and after closing and opening unity the error was gone
     
  7. Rikvee

    Rikvee

    Joined:
    Mar 17, 2021
    Posts:
    1
    Hello!
    I had this same issue on Mac using OS 13.4.1, Unity 2021.3.26f1 and Xcode 14.3.1. My project was building fine but then I changed the project's name. Something else may be responsible, but that was the only real change. After that all builds would fail quite quickly.

    I tried the erase the complete "<project name>/Library" folder as suggested here and it fixed the problem.

    Cheers!
     
  8. DevDop

    DevDop

    Joined:
    May 1, 2016
    Posts:
    5
    Deleting Library folder worked for me. I started having the issue right after importing the iOS 14 Ad Support package
     
  9. sheikh_Ati

    sheikh_Ati

    Joined:
    Sep 29, 2016
    Posts:
    2
    unity 2021.3.26f1 same issue when importing firebase analytics sdk 11.3.0
    i use mac and as soon as i import and press play btn it prompts me that firebase cppapp-11.3.0 not found
    and in the overlay mac security says that this aplication is from undefined developer and blocked it
    i allowed it from mac system prefrences and relaod unity to play the same error occues
    and when tring to build. the build fail with this error

    Edited:- Turns out my mac os is too old and there was no xcode installed
    so i had to download 10GB xcode 12.3 and install it
    what it did was allowed me to install python properly, its worth noting without xcode any installation of python was getting neglected.
    this resolved my problem
     
    Last edited: Jul 22, 2023
  10. MoctezumaDev

    MoctezumaDev

    Joined:
    Aug 14, 2013
    Posts:
    52
    I have a similar issue running in batchmode on a Docker Windows GameCI image

    I get it in both
    2021.3.28f1
    2021.3.15f1

    Code (CSharp):
    1. Refreshing native plugins compatible for Editor in 6.57 ms, found 14 plugins.
    2. Starting: C:\Program Files\Unity\Hub\Editor\2021.3.15f1\Editor\Data\bee_backend.exe --profile="Library/Bee/backend_profiler0.traceevents" --stdin-canary --dagfile="Library/Bee/1900b0aE.dag" --continue-on-failure ScriptAssemblies
    3. WorkingDir: C:/builds/projects/rsml/project
    4. ExitCode: 4 Duration: 2s231ms
    5. [             ] Require frontend run.  Library/Bee/1900b0aE.dag couldn't be loaded
     
  11. YichenYu525

    YichenYu525

    Joined:
    Dec 8, 2020
    Posts:
    9
    I am still having this isuue on Unity 2021.3.9f1.
    1. The project never has this issue on Windows Unity, but only on some Mac Unity
    2. If I change ANY code of C#, I will have "Internal build system error. Backend exited with code 2", and then I cannot do anything. If I close Unity and reopen, the error is gone.
    3. I got this issue after I upgraded firebase recently. If I deleted firebase completely, this issue is gone.
    4. My mac version is 10.14.6, so I don't think it is python related.
    5. We are using Cache Server, which is set up on a Windows Computer.
    Editor log is something like this (when I am just adding space in AppSettingAssetEditor.cs);

    Registering precompiled user dll's ...
    Registered in 0.087220 seconds.
    Querying for cacheable assets in Cache Server:
    3447e38781551490a80611aff2f85639:Assets/Editor/AppSettingAssetEditor.cs
    Artifact(content hash=bfcd0f78a9a8fc02b4dcc6a1e651edef) downloaded for 'Assets/Editor/AppSettingAssetEditor.cs'
    [ScriptCompilation] Requested script compilation because: Assetdatabase observed changes in script compilation related files
    AssetDatabase: script compilation time: 0.245659s
    Starting: /Applications/Unity/Unity.app/Contents/bee_backend --profile="Library/Bee/backend_profiler0.traceevents" --stdin-canary --dagfile="Library/Bee/1300b0aE.dag" --continue-on-failure ScriptAssemblies
    WorkingDir: /Users/guest1/XXX/XXX
    ExitCode: 2 Duration: 0s92ms
    tundra: error: Unexpected stdin
    Internal build system error. Backend exited with code 2.
    tundra: error: Unexpected stdin