Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Non default install location problems

Discussion in 'Unity Hub' started by pissant, Apr 7, 2018.

  1. pissant

    pissant

    Joined:
    May 26, 2014
    Posts:
    1
    When using Unity Hub, the displayed Editor folder location and the install location are not the same.

    1. What happened
    Using Unity Hub to install 'Unity 2018.1.0b12' or b13, with 'Editor Folder' not set to system drive ('C:\'), installs "Unity 2018.1.0b12" in two separate locations, one on the system drive and one in the 'Editor Folder' location. Also the installs only have the folder name '2018.1.0b12' or '2018.1.0b13'.

    2. How we can reproduce it using the example you attached
    The following applies to 'Unity 2018.1.0b12' and 'Unity 2018.1.0b13'

    Primary system drive is 'c:', secondary drive is 'e:', Unity Hub 'Editor Folder Location' is set as as 'e:\Program Files\', Unity Hub is installed under 'c:\Program Files\Unity Hub'

    Install 'Unity 2018.1.0b12' release. It will install the 'Editor' directory under "C:/Program Files/2018.1.0b12/Editor" and a modules.json file under "E:/Program Files/2018.1.0b12/modules.json" see attached zip for modules.json file for b13

    Unity Hub -> "On my machine-> Unity 2018.1.0b12" still says the install is under "E:\Program Files\2018.1.0b12\Editor\Unity.exe"
    Creating a new project and using the 2018 version produces an error "Error launching application: The application path 'E:\Program Files\2018.1.0b12\Editor\Unity.exe' does not exist."

    Uninstalling the 2018 version from Unity Hub -> Installs -> On my machine, produces an error
    "The editor 2018.1.0b12 could not be uninstalled."

    Manually adding the "C:/Program Files/2018.1.0b12/Editor/Unity.exe" with the 'Locate a Version' button produces an error
    'Failed to locate the editor: Error: Another Unity 2018.1.0b12 exists on your machines. You need to uninstall/remove it before adding a new one."

    Registry entries for uninstall location all point to "c:\" See attached zip for registry key export for b13.

    Copying the "C:/Program Files/2018.1.0b12/Editor" directory to "file:///E:/Program Files/2018.1.0b12/Editor" Allows for launching and creating new projects from Unity Hub but uninstalling will fail with error "The editor 2018.1.0.b12 could not be uninstalled"
     

    Attached Files:

    Last edited: Apr 7, 2018
  2. joeksy

    joeksy

    Unity Technologies

    Joined:
    Jan 12, 2017
    Posts:
    155
    Hi @pissant ,

    We have are currently working on the fix and should be available soon.

    Thanks

    Joe