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. Join us on Thursday, June 8, for a Q&A with Unity's Content Pipeline group here on the forum, and on the Unity Discord, and discuss topics around Content Build, Import Workflows, Asset Database, and Addressables!
    Dismiss Notice

Feedback Unity Hub 3.4.1 won't install any Unity version

Discussion in 'Unity Hub' started by Qui-Gon_Windu, Mar 24, 2023.

  1. Qui-Gon_Windu

    Qui-Gon_Windu

    Joined:
    Mar 24, 2023
    Posts:
    6
    I've tried installing the Unity hub with normal user permissions and admin permissions and running the hub with both permissions. It will download but always fails to install any Unity version. I've tried several.

    I can install Unity 2021 LTS manually but then get compile errors on creating a new project. It doesn't matter what template I use.

    I would like to get help fixing the Unity hub install issues first as maybe that will fix the other issues.

    Here's part of my log info for the Unity hub:

    {"timestamp":"2023-03-24T19:01:02.273Z","level":"info","moduleName":"UnityInstallStepsWindows","message":"[\n 'install C:\\\\Users\\\\COMMAN~1\\\\AppData\\\\Local\\\\Temp\\\\unityhub-986120c0-ca75-11ed-84b3-4955b911d20d\\\\UnitySetup64-2021.3.21f1.exe /S /D=C:\\\\Program Files\\\\Unity\\\\Hub\\\\Editor\\\\2021.3.21f1'\n]"}
    {"timestamp":"2023-03-24T19:01:02.275Z","level":"warn","moduleName":"UnityInstallStepsWindows","message":"[\n Error: spawn C:\\WINDOWS\\system32\\cmd.exe ENOENT\n at ChildProcess._handle.onexit (node:internal/child_process:283:19)\n at onErrorNT (node:internal/child_process:478:16)\n at process.processTicksAndRejections (node:internal/process/task_queues:83:21) {\n errno: -4058,\n code: 'ENOENT',\n

    Thanks for any help.
     
    Last edited: Mar 24, 2023
  2. Qui-Gon_Windu

    Qui-Gon_Windu

    Joined:
    Mar 24, 2023
    Posts:
    6
    I've tried changing Unity hub folder and exe owner and permissions in Windows; deleting the unity hub temp files in the AddData folder and restarting my pc; even disabled UAC but nothing works.
     
  3. Qui-Gon_Windu

    Qui-Gon_Windu

    Joined:
    Mar 24, 2023
    Posts:
    6
    Ok, I was able to get Unity 2021 LTS to start up and work. There are no more compile errors with a new project and I can create scripts without issues and everything seems to be working fine now.

    What was the problem? I'm not sure. I did change unity folder and files ownership and permissions and also changed the cmd.exe permissions in the Windows System32 folder. The Unity Hub still won't work correctly. I can't install any version of Unity through the Hub. But Unity 2021 LTS is working fine now.
     
  4. beauwoodbyrne

    beauwoodbyrne

    Joined:
    Mar 16, 2018
    Posts:
    1
    This instills hope