Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

STDERR: tundra: error: Unexpected stdin

Discussion in 'Editor & General Support' started by Kjaka, Mar 23, 2022.

  1. Kjaka

    Kjaka

    Joined:
    Dec 8, 2015
    Posts:
    18
    Hello everyone, I have just upgraded my Mac from Catalina to Monterey and the project that was working perfectly well before, now gives this error;


    Internal build system error. Backend exited with code 2.
    STDOUT:
    Finished compiling graph: 873 nodes, 12441 flattened edges (12441 ToBuild, 0 ToUse), maximum node priority 820
    STDERR:
    tundra: error: Unexpected stdin



    I have tried deleting the Library folder to no avail. My username doesn't include any unusual characters. I appreciate any ideas that you may have.

    Thanks in advance.
     
    Petr777 and dan_ginovker like this.
  2. Kjaka

    Kjaka

    Joined:
    Dec 8, 2015
    Posts:
    18
  3. sael-you

    sael-you

    Joined:
    Dec 5, 2020
    Posts:
    6
  4. babalunda

    babalunda

    Joined:
    Jun 5, 2013
    Posts:
    11
    I also found a patching solution that only requires you to create a symbolic link on the Mac.

    Code (bash):
    1. ls -s /usr/local/bin/python3 /usr/local/bin/python
    You can enter the command line above in the Terminal on the mac. It will create a symbolic link so that each time you call python, it actually calls python3.

    (You should double-check the location of your real python3 by executing
    which python3
    which returns the path to python3.)

    You might have to recreate the symbolic link in future updates of Mac OS.
     
    josefgrunig likes this.
  5. noobler

    noobler

    Joined:
    Oct 22, 2014
    Posts:
    11
    i think you mean
    ln -s
    , but can confirm it worked, ty!
     
  6. blkgbrl

    blkgbrl

    Joined:
    Oct 10, 2022
    Posts:
    1
  7. SimonMV

    SimonMV

    Joined:
    Sep 2, 2015
    Posts:
    7
    Had this issue today with firebase installation 9.3.0 on Unity version 2021.3.14f1 on Monterey.

    Solved it by:
    - Updating the firebase app package and its dependencies to 10.3.0
    - After updating and starting Unity the error changed to : "Could not find a working python interpreter. Please make sure one of the following is in your PATH: python python3 python3.8 python3.7"
    - Then installed python 3 by downloading it from the python website
    - Restart Unity
    - Build the project -> succes
     
  8. unity_CD968891DF9BA6D7C44A

    unity_CD968891DF9BA6D7C44A

    Joined:
    May 25, 2023
    Posts:
    1
    ln -s /usr/local/bin/python3 /usr/local/bin/python Fixed the problem! Thank you!