Search Unity

  1. Get all the Unite Berlin 2018 news on the blog.
    Dismiss Notice
  2. Unity 2018.2 has arrived! Read about it here.
    Dismiss Notice
  3. Improve your Unity skills with a certified instructor in a private, interactive classroom. Learn more.
    Dismiss Notice
  4. ARCore is out of developer preview! Read about it here.
    Dismiss Notice
  5. Magic Leap’s Lumin SDK Technical Preview for Unity lets you get started creating content for Magic Leap One™. Find more information on our blog!
    Dismiss Notice
  6. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

Unity Hub 0.18.1 cannot uninstall manually-removed Unity version

Discussion in 'Unity Hub Preview' started by syscrusher, Jul 10, 2018.

  1. syscrusher

    syscrusher

    Joined:
    Jul 4, 2015
    Posts:
    739
    The original source of this problem was my own pilot error, which I accept, but Unity Hub didn't handle my mistake very gracefully, so I wanted to report that. :)

    I just started using Hub a few days ago, and my existing environment has about 6 different versions of Unity installed from the traditional installer downloads. I figured out how to make Hub aware of these, and the invocations were working fine.

    I had used Hub, whatever version was before 0.18.1, to install Unity 2018.2.0b11. Before installing 2018.2.0f2 today, I wanted to delete the beta. Out of habit, I did that manually without telling Hub to uninstall it first. Oops. Bad idea, but I forgot that version was Hub-installed.

    Once I did that, Hub could not uninstall the beta that was already deleted, and restarting Hub didn't get rid of it out of the list of "on this machine" Unity versions. Since I had used Windows Explorer to delete the beta, I thought I could fix this by restoring it from the Recycle Bin, which I had not yet emptied. That didn't help; Hub still could neither run nor uninstall that version.

    I spent some time in the Registry Editor trying to figure out where Hub stored the list of known installs, to no avail. Finally, I emptied the recycle bin and then downloaded the Unity Hub setup executable and ran it again. This reset the list of installed versions and seems to have cleared up the problem.

    During all of this, I also noticed that Unity Hub does not (yet?) appear in the list of programs that can be uninstalled from the Windows 10 settings menus.

    The suggested behavior would be that if Hub is told to uninstall an editor version that no longer exists due to external factors, it should just issue a warning about that, but go ahead and remove it from the menu, rather than issuing an error and leaving the item (now known to be useless anyway) in the menu. This also seems sensible given it's very easy to re-add a "discovered" version of Unity editor if necessary.
     
    M_R likes this.
  2. afshinity

    afshinity

    Unity Technologies

    Joined:
    Jul 31, 2017
    Posts:
    150
    Hi there,

    Sorry that you faced these issues.
    I will add these two to our backlog and we will address them based on the priority.

    Thank you for using Unity Hub.
    Afshin
     
    syscrusher likes this.
  3. syscrusher

    syscrusher

    Joined:
    Jul 4, 2015
    Posts:
    739
    No apology needed -- I knew I was testing out pre-release code and wasn't expecting perfection. :) It's not a high-priority bug, by any means. I like Unity Hub overall and am now using it as my go-to way to start Unity and manage my installs. Thanks for the reply.