Search Unity

Error launching application: spawn EACCES.

Discussion in 'Unity Hub' started by DavidSmit, Jan 25, 2018.

  1. DavidSmit

    DavidSmit

    Joined:
    Apr 1, 2014
    Posts:
    50
    When trying to launch my project through the UnityHub, It first asks me to download the correct unity. I decline and select 'open with preferred version'.

    It then stops and gives me an error message that reads:
    "Error launching application: spawn EACCES."

    I haven't checked if it works fine with a correct unity version-project combo.
     
  2. AytoMaximo

    AytoMaximo

    Joined:
    Aug 26, 2015
    Posts:
    76
    Hi! I had the same error. In my case Unity Editor has a "run as administrator" checkbox activated in exe properties window. Unchecking it helped me to resolve the issue. Good luck!
     
  3. BorisMongeau

    BorisMongeau

    Unity Technologies

    Joined:
    Feb 24, 2017
    Posts:
    58
    Thanks for this feedback, we'll look into it
     
    DavidSmit likes this.
  4. NyanFall

    NyanFall

    Joined:
    May 8, 2017
    Posts:
    1
    So how's its going?

    Have same issue here.
    Code (JavaScript):
    1. {"level":"info","message":"[ 'setAccessToken: Setting access token' ]","moduleName":"LicensingSdkService","timestamp":"2022-02-10T18:04:14.224Z"}
    2. {"level":"info","message":"[ 'setAccessToken: Setting access token' ]","moduleName":"LicensingSdkService","timestamp":"2022-02-10T18:04:14.225Z"}
    3. {"level":"info","message":"[ 'Get all entitlement groups' ]","moduleName":"LicensingSdkService","timestamp":"2022-02-10T18:04:14.225Z"}
    4. {"level":"info","message":"[ 'Successfully received all entitlement groups details' ]","moduleName":"LicensingSdkService","timestamp":"2022-02-10T18:04:14.238Z"}
    5. {"level":"info","message":"[ 'Received 1 entitlement groups' ]","moduleName":"LicensingSdkService","timestamp":"2022-02-10T18:04:14.238Z"}
    6. {"level":"error","message":"[\n  'Launch process error: Error: spawn /work/UnityEditor/2020.3.23f1/Editor/Unity EACCES'\n]","moduleName":"LaunchProcess","timestamp":"2022-02-10T18:04:14.241Z"}
    7. {"level":"error","message":"[\n  'Error launching the Editor: Error: spawn /work/UnityEditor/2020.3.23f1/Editor/Unity EACCES'\n]","moduleName":"EditorApp","timestamp":"2022-02-10T18:04:14.241Z"}
    8. {"level":"warn","message":"[\n  'Page Error: spawn /work/UnityEditor/2020.3.23f1/Editor/Unity EACCES is not among supported pages for window main-window'\n]","moduleName":"BaseWindow","timestamp":"2022-02-10T18:04:14.245Z"}
    9. {"level":"warn","message":"[\n  'Launch error app.editor: /work/UnityEditor/2020.3.23f1/Editor/Unity, args: -projectpath,/home/nyanfall/projects/TakeTheStairs/TakeTheStairs,-force-vulkan,-useHub,-hubIPC,-cloudEnvironment,production,-licensingIpc,LicenseClient-nyanfall,-hubSessionId,3e2aa970-8a9b-11ec-bac0-a1c1e589fbae,-accessToken,EvOrN19NE2uQ-OoNUgbDQ0s3i0JsnelO-hBhA7q_tgI007f',\n  'ERROR.LAUNCH_EDITOR.EACCES'\n]","moduleName":"EditorApp","timestamp":"2022-02-10T18:04:14.245Z"}
    10. {"level":"info","message":"[ 'child process exited with code -13' ]","moduleName":"LaunchProcess","timestamp":"2022-02-10T18:04:14.247Z"}