Search Unity

Question Bee.Stevedore.Program.HumaneException: 'cache-folder' could not be inferred from environment

Discussion in 'Editor & General Support' started by andyshih51, Jul 28, 2022.

  1. andyshih51

    andyshih51

    Joined:
    Feb 11, 2018
    Posts:
    5
    Video Demo of the Problem


    I am on Macbook M1 2020, running macOS Monterey 12.4 I have installed Unity Hub, and inside it I have installed Unity Editor 2021.3.61f (Apple Silicon version). I cannot open any project or start a new project. Just initializing a new project would lead to an error that opens Unity Editor in Safe Mode, in which I get the following stack trace about Bee Library not able to find 'cache-folder'.

    Stack trace:
    I have restarted computer and completely reinstalled Unity Hub and Unity Editor several times, but this problem is always there. Please help.

    Additional information: I was using Unity on this computer just fine about a month ago. I do not know what changed. I did not install anything new in Unity or applied any major OS update.
     
    Last edited: Jul 28, 2022
  2. andyshih51

    andyshih51

    Joined:
    Feb 11, 2018
    Posts:
    5
    Problem has been resolved HERE.
     
  3. isdemx

    isdemx

    Joined:
    Mar 8, 2022
    Posts:
    2
    Hello. I still have this problem. The solvation didnt help me. I created a file with content:

    Code (CSharp):
    1. #!/bin/bash
    2. export HOME=/Users/sk # my users folder
    3. nohup "/Applications/Unity Hub.app/Contents/MacOS/Unity Hub" &>/dev/null &
    After lunch the file no one project even new ones still don't open. Falled with the same error.

    Code (CSharp):
    1. Internal build system error. BuildProgram exited with code 134.
    2. Unhandled exception. System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
    3. ---> Bee.Stevedore.Program.HumaneException: 'cache-folder' could not be inferred from environment, nor was it configured in Stevedore.conf
    4.    at Bee.Stevedore.Program.StevedoreConfig.GlobalConfig.get_CacheFolder()
    5.    at Bee.Stevedore.Program.DownloadCache..ctor(StevedoreConfig config, Action`1 emitWarning)
    6.    at Bee.Core.Stevedore.StevedoreUnpacker..ctor(Backend backend)
    7.    at Bee.Core.RequirementsForRunningBuildCode..ctor(Backend backend)
    8.    at Bee.Core.BuildProgramContext..ctor(String[] args, String buildTitle)
    9.    at ScriptCompilationBuildProgram.ScriptCompilationBuildProgram.Main(String[] args) in /Users/bokken/buildslave/unity/build/Editor/IncrementalBuildPipeline/ScriptCompilationBuildProgram/ScriptCompilationBuildProgram.cs:line 19
    10.    --- End of inner exception stack trace ---
    11.    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
    12.    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    13.    at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
    14.    at Program.Main(String[] args) in /Users/bokken/build/output/unity/netcorerun/netcorerun/Program.cs:line 47
    This happend immiditelly in one day. I didn't make nothing. Very strange. Is anabody can help me?