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

Empty Unity Launch Error when opening a project from Hub.

Discussion in 'Editor & General Support' started by BuzzKirill, May 19, 2020.

  1. BuzzKirill

    BuzzKirill

    Joined:
    Nov 14, 2017
    Posts:
    42


    This is it. Can't open any of the projects due to this error. It doesn't say anything, but here's the info-log.json' output:
    Code (CSharp):
    1. {"moduleName":"LaunchProcess","level":"error","message":"[ 'Launch process error: Error: spawn C:\\\\Program Files\\\\Unity\\\\Hub\\\\Editor\\\\2019.2.21f1\\\\Editor\\\\Unity.exe EACCES' ]","timestamp":"2020-05-19T04:03:51.332Z"}
    2. {"moduleName":"EditorApp","level":"error","message":"[ 'Error launching the Editor: Error: spawn C:\\\\Program Files\\\\Unity\\\\Hub\\\\Editor\\\\2019.2.21f1\\\\Editor\\\\Unity.exe EACCES' ]","timestamp":"2020-05-19T04:03:51.332Z"}
    3. {"moduleName":"EditorApp","level":"warn","message":"[ 'Launch error app.editor: C:\\\\Program Files\\\\Unity\\\\Hub\\\\Editor\\\\2019.2.21f1\\\\Editor\\\\Unity.exe, args: -projectpath,D:/TEST PROJECT/TEST PROJECT,-useHub,-hubIPC,-cloudEnvironment,production,-hubSessionId,bdb81780-9985-11ea-9204-e74ac65c62aa,-accessToken,ju5Mzdo1-2SC03Rh_GldUzThdnjTmqEDOba3X9CSf2o009f',\n  'ERROR.LAUNCH_EDITOR.EACCES' ]","timestamp":"2020-05-19T04:03:51.335Z"}
    4.  
    Tried rebooting, tried re-registering the license, tried turning the local network adapter on and off, made sure the nVidia drivers and control panel were updated, Windows also fully up-to-date.
    Next I'm gonna try uninstalling the Hub to see if I can launch the Editor directly (I can't just launch the executable since it takes you to Hub anyway)
    OK so uninstalling the Hub and launching Unity directly worked, but obviously now I can't download anything from the Asset store, and I need it right now.
     

    Attached Files:

    Last edited: May 19, 2020
    PeyvandTa likes this.
  2. BuzzKirill

    BuzzKirill

    Joined:
    Nov 14, 2017
    Posts:
    42
    Wow. I just tried googling "ERROR.LAUNCH_EDITOR.EACCES" (from the log) and this here thread is literally the only hit on Google. Wtf.
     
  3. BuzzKirill

    BuzzKirill

    Joined:
    Nov 14, 2017
    Posts:
    42
    razvaniorga and ALEX_PAINT like this.
  4. GivoMakes

    GivoMakes

    Joined:
    Jan 21, 2020
    Posts:
    11
    ALEX_PAINT likes this.
  5. MAXOHNO

    MAXOHNO

    Joined:
    Jul 29, 2019
    Posts:
    1
    holy S*** thanks guys, I was so desperate but with the older unity hub version it worked now, love you.
     
  6. Cyanners1

    Cyanners1

    Joined:
    Jun 7, 2018
    Posts:
    1
    I had this problem and running the hub as a non-admin fixed it.
     
    EmagineVR likes this.
  7. Leslie-Young

    Leslie-Young

    Joined:
    Dec 24, 2008
    Posts:
    1,146
    Why is Unity not responding to this?

    Funny enough, changed mine to run as admin and it is working. Could just be that is decided to start working and will give same problems again tomorrow after a restart. Ah well, at least I can get back to work for today...
     
    EmagineVR and Hoorza like this.
  8. AlbertoFdzM

    AlbertoFdzM

    Joined:
    Jun 7, 2016
    Posts:
    3
    Same problem here.

    Reinstalling unity through Unity Hub fixes it until reboot.

    Hope this thread gets noticed.

    UPDATE: I'm using Unity Hub v2.4.2 and Unity v2020.1.17f1

    UnityHub/logs/info-log.json

    Code (JavaScript):
    1. {
    2.   "moduleName": "LocalProject",
    3.   "level": "info",
    4.   "message": "[ 'openProject projectPath: C:/Users/alber/Develop/unity-game-project, current editor:',\n  undefined ]",
    5.   "timestamp": "2021-03-07T12:27:43.567Z"
    6. }
    7. {
    8.   "moduleName": "RestEvent:Project",
    9.   "level": "info",
    10.   "message": "[ 'onProjectOpen data:',\n  { projectPath: 'C:/Users/alber/Develop/unity-game-project' } ]",
    11.   "timestamp": "2021-03-07T12:27:43.567Z"
    12. }
    13. {
    14.   "moduleName": "LaunchProcess",
    15.   "level": "error",
    16.   "message": "[ 'Launch process error: Error: spawn C:\\\\Program Files\\\\Unity\\\\Hub\\\\Editor\\\\2020.1.17f1\\\\Editor\\\\Unity.exe EACCES' ]",
    17.   "timestamp": "2021-03-07T12:27:43.575Z"
    18. }
    19. {
    20.   "moduleName": "EditorApp",
    21.   "level": "error",
    22.   "message": "[ 'Error launching the Editor: Error: spawn C:\\\\Program Files\\\\Unity\\\\Hub\\\\Editor\\\\2020.1.17f1\\\\Editor\\\\Unity.exe EACCES' ]",
    23.   "timestamp": "2021-03-07T12:27:43.575Z"
    24. }
    25. {
    26.   "moduleName": "EditorApp",
    27.   "level": "warn",
    28.   "message": "[ 'Launch error app.editor: C:\\\\Program Files\\\\Unity\\\\Hub\\\\Editor\\\\2020.1.17f1\\\\Editor\\\\Unity.exe, args: -projectpath,C:/Users/alber/Develop/unity-game-project,-useHub,-hubIPC,-cloudEnvironment,production,-hubSessionId,ad249d90-7f3e-11eb-9efb-512af2875713,-accessToken,mD6T5XoD2O_Z6dODIa8F89Xf-xwtKX7VwQM42F19Vwg006f',\n  'ERROR.LAUNCH_EDITOR.EACCES' ]",
    29.   "timestamp": "2021-03-07T12:27:43.580Z"
    30. }
     
    Last edited: Mar 7, 2021
  9. john_unity389

    john_unity389

    Joined:
    Apr 21, 2020
    Posts:
    1
    Hi all, I experienced the same problem and found that updating the project from an old version of unity to a newer one fixed this. Old version: 2019.4.13f1, New version 2020.2.1f1. I downgraded unity hub to try and fix this to no avail, but maybe try along with the rest of this and it may work ;)
     
  10. DandecatLiang

    DandecatLiang

    Joined:
    Aug 22, 2017
    Posts:
    26
    I got this message and can't open editor when I manually change the editor execution file to run as admin.
     
  11. Hoorza

    Hoorza

    Joined:
    May 8, 2016
    Posts:
    40
    Unity 2020.1.4 with Unity Hub 3.0. Same problem. I have run Unity Hub as an Administrator and it is working. Hope it helps.
     
  12. Morgun71

    Morgun71

    Joined:
    Oct 28, 2019
    Posts:
    7
    Computer reboot helped me
     
  13. jRocket

    jRocket

    Joined:
    Jul 12, 2012
    Posts:
    687
    Somehow still happening in 3.4.1. Very useful error message.

    upload_2023-2-12_18-44-20.png
     
    UnityVollidioten and akast07 like this.
  14. tayyabmain741

    tayyabmain741

    Joined:
    Jun 14, 2023
    Posts:
    12
    I had the same issue and fixed it by going into the properties of the .exe file>compatibility and unchecked run as administrator (i previously had checked the option to fix installation errors)