Search Unity

Resolved unity 2021.2.3f Internal build system error. Backend exited with code 2.

Discussion in 'Editor & General Support' started by NOTT, Nov 20, 2021.

  1. NOTT

    NOTT

    Joined:
    Jul 13, 2017
    Posts:
    4
    some Garbled problem
    but 2021.1.28 no problem.why
    Internal build system error. Backend exited with code 2.
    STDOUT:
    [ 0s] Delete 4 artifact files that are no longer in use. (like Library\Bee\artifacts\mvdfrm)
    [ 0/277 0s] WriteText Library/Bee/artifacts/1900b0aE.dag/UnityEditor.TestRunner.rsp
    [ 1/277 0s] WriteText Library/Bee/artifacts/1900b0aE.dag/UnityEditor.UI.rsp
    [ 2/277 0s] WriteText Library/Bee/artifacts/1900b0aE.dag/UnityEngine.UI.rsp
    [ 3/277 0s] WriteText Library/Bee/artifacts/1900b0aE.dag/Unity.VisualScripting.Core.rsp
    [ 4/277 0s] WriteText Library/Bee/artifacts/1900b0aE.dag/UnityEngine.TestRunner.rsp
    STDERR:
    tundra: error: failed to create temporary file: C:\Users\���ɵ���\AppData\Local\Temp\tundra.16296.3
    tundra: error: failed to create temporary file: C:\Users\���ɵ���\AppData\Local\Temp\tundra.16296.4
    tundra: error: failed to create temporary file: C:\Users\���ɵ���\AppData\Local\Temp\tundra.16296.10
    tundra: error: failed to create temporary file: C:\Users\���ɵ���\AppData\Local\Temp\tundra.16296.8
    tundra: error: failed to create temporary file: C:\Users\���ɵ���\AppData\Local\Temp\tundra.16296.6
    tundra: error: failed to create temporary file: C:\Users\���ɵ���\AppData\Local\Temp\tundra.16296.12
    tundra: error: failed to create temporary file: C:\Users\���ɵ���\AppData\Local\Temp\tundra.16296.7
    errno: 0 (No error) GetLastError: 3 (0x00000003): tundra: error: failed to create temporary file: C:\Users\���ɵ���\AppData\Local\Temp\tundra.16296.13
    tundra: error: failed to create temporary file: C:\Users\���ɵ���\AppData\Local\Temp\tundra.16296.5
    errno: 0 (No error) GetLastError: 3 (0x00000003): tundra: error: failed to create temporary file: C:\Users\���ɵ���\AppData\Local\Temp\tundra.16296.11
    errno: 0 (No error) GetLastError: 3 (0x00000003): errno: 0 (No error) GetLastError: 3 (0x00000003): errno: 0 (No error) GetLastError: 3 (0x00000003): errno: 0 (No error) GetLastError: 3 (0x00000003): tundra: error: failed to create temporary file: C:\Users\���ɵ���\AppData\Local\Temp\tundra.16296.14
    tundra: error: failed to create temporary file: C:\Users\���ɵ���\AppData\Local\Temp\tundra.16296.9
    errno: 0 (No error) GetLastError: 3 (0x00000003): errno: 0 (No error) GetLastError: 3 (0x00000003): tundra: error: failed to create temporary file: C:\Users\���ɵ���\AppData\Local\Temp\tundra.16296.15
    errno: 0 (No error) GetLastError: 3 (0x00000003): errno: 0 (No error) GetLastError: 3 (0x00000003): errno: 0 (No error) GetLastError: 3 (0x00000003): tundra: error: failed to create temporary file: C:\Users\���ɵ���\AppData\Local\Temp\tundra.16296.2
    errno: 0 (No error) GetLastError: 3 (0x00000003): errno: 0 (No error) GetLastError: 3 (0x00000003): errno: 0 (No error) GetLastError: 3 (0x00000003): tundra: found 0 processes keeping the file "C:\Users\���ɵ���\AppData\Local\Temp\tundra.16296.13" open (showing 0).
    tundra: found 0 processes keeping the file "C:\Users\���ɵ���\AppData\Local\Temp\tundra.16296.8" open (showing 0).
    tundra: found 0 processes keeping the file "C:\Users\���ɵ���\AppData\Local\Temp\tundra.16296.10" open (showing 0).
    tundra: found 0 processes keeping the file "C:\Users\���ɵ���\AppData\Local\Temp\tundra.16296.4" open (showing 0).
    tundra: found 0 processes keeping the file "C:\Users\���ɵ���\AppData\Local\Temp\tundra.16296.6" open (showing 0).
    tundra: found 0 processes keeping the file "C:\Users\���ɵ���\AppData\Local\Temp\tundra.16296.12" open (showing 0).
    tundra: error: (!command_that_just_finished || !was_sharing_violation)
     
  2. NOTT

    NOTT

    Joined:
    Jul 13, 2017
    Posts:
    4
    2021.2.4f1Same problem
     
  3. NOTT

    NOTT

    Joined:
    Jul 13, 2017
    Posts:
    4
    This seems to be caused by unity path using UTF-8,There are 2 ways.
    (1)
    Create the path file of the prompt even if it is garbled C:\Users\���ɵ���\AppData\Local\Temp
    (2)
    All Settings -> Time & Language -> Language -> "Administrative Language Settings"
    Enable beta on win10
     
    Last edited: Dec 2, 2021
  4. Schubkraft

    Schubkraft

    Unity Technologies

    Joined:
    Dec 3, 2012
    Posts:
    1,073
    Hey, sorry that you are having troubles with the new version. I can't however reproduce this with a unicode username myself. Could you be so kind to send in a bug report via the editor after a build failed this way (so we get the logs) and include the project that reproduces this for you? Please ping the case number here you get for it so we can fish it out of the general queue.
    Thank you!
     
  5. NOTT

    NOTT

    Joined:
    Jul 13, 2017
    Posts:
    4
    It seems that reading systeminfo failed, but I did not find systeminfo, my computer OS is win11 屏幕截图 2021-12-04 170559.png
     
  6. Schubkraft

    Schubkraft

    Unity Technologies

    Joined:
    Dec 3, 2012
    Posts:
    1,073
    Bummer, I will try again Monday using a Chinese user name, but I have no Windows 11 machine here. Will figure something out, so we can hopefully reproduce this on our end.
     
  7. Parallax

    Parallax

    Joined:
    May 23, 2015
    Posts:
    39
    Same here... Windows 10, had to manually install JDK 8.1.8.0_331