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.

Can't add existing project with Unity Hub 2.0.0 if there aren't currently any projects

Discussion in 'Editor & General Support' started by aaronfranke, Jun 2, 2019.

  1. aaronfranke

    aaronfranke

    Joined:
    Jan 23, 2017
    Posts:
    20
    Unity Hub 2.0.0, Ubuntu 18.04 Linux.

    I have an existing project using Unity 2019.1.4f1. When I click "ADD", then click on the folder, then click "OK", nothing happens.

    However, if I click "New" and create a new project, then I close out of that, re-open Unity Hub, and now the "ADD" button works and I can open my project.

    It seems that I can only add existing projects using the Unity Hub if I already have projects in the Unity Hub. When Unity Hub is fresh installed and has no projects in it, I can't add any.
     
  2. solci

    solci

    Joined:
    Apr 26, 2014
    Posts:
    1
    Thanks for the "workaround"

    Can confirm.

    Unity Hub 2.0.0 on Ubuntu 18.04. Only able to add existing projects after i created a empty project.
     
    valentingurkov, jjknopka and cxode like this.
  3. Lyusan

    Lyusan

    Joined:
    Sep 29, 2016
    Posts:
    1
    I had the same error and the workaround also worked for me.
    Thank you @aaronfranke
     
    jjknopka and cxode like this.
  4. Joobei

    Joobei

    Joined:
    Oct 12, 2016
    Posts:
    5
    Thanks for this awesome workaround ^_^ It worked.
     
    jjknopka and cxode like this.
  5. subchannel13

    subchannel13

    Joined:
    Mar 22, 2015
    Posts:
    5
    Thanks for workaround,the bug is still present in v2.1.2. Strange thing is if you select wrong folder you get error message, something like "invalid Unity project folder" but if you select the right one, absolutely nothing happens.
     
  6. AlfieBooth

    AlfieBooth

    Joined:
    Dec 2, 2013
    Posts:
    27
    Thank you for this
     
  7. souluquinha

    souluquinha

    Joined:
    Jan 25, 2020
    Posts:
    3
    My Hub 2.2.2 can not even create a empty project to add after, as suggested. I'm using Linux Mint 19.1 (targets Ubuntu 18.09).
     
  8. TheDudeFromCI

    TheDudeFromCI

    Joined:
    Oct 21, 2014
    Posts:
    15
    Currently using UnityHub 2.2.2 on Fedora Linux 31.

    The Unity hub won't open existing projects, (imported from Github), or create new projects. When attempting to open an existing project, nothing happens. No messages, no pop-ups, etc. When attempting to create a new project, it appears to work, but the hub closes without opening the editor. When restarting the hub, the project exists in the hub, but no files or folders were created.

    Additional Notes:
    • Signed in or signed out makes no difference.
    • After attempting to create an additional project, while no files are created, the project exists within the project list. Attempting to open the project yields a message saying the project could not be found. Attempting to delete the project performs no action. Closing and reopening the hub makes no change.
    • Sudo makes no difference.
    • After a short while, the ghost projects delete themselves from the list. Probable cache being cleared or refreshed?
    • ~/.config/UnityHub/logs/info-log.json > https://pastebin.com/8RZ9qdVY
    • Attempting to launch the editor directly, skipping the Unity Hub, prints the error
      Code (CSharp):
      1. error while loading shared libraries: libGLU.so.1: cannot open shared object file: No such file or directory
      to console.
     
    Last edited: Feb 1, 2020
  9. TheDudeFromCI

    TheDudeFromCI

    Joined:
    Oct 21, 2014
    Posts:
    15
    Update:
    After installing libGLU directly, via
    Code (CSharp):
    1. sudo dnf install libGLU
    I was able to actually open the project with
    Code (CSharp):
    1. ./Unity ~/my/project/location/my-project
    from with the Unity Editor location. This action opens up the Unity Hub in the background (this can be safely closed) and displays some file opening dialog errors to console, however, the project does successfully open.

    It is also worth noting that even after installing the missing library, Unity Hub still does not appear to allow me to add a project to the empty project list. However, after opening the project with the editor once, it does appear in the project list and can be opened normally. Creating a new project now works, although sometimes prints random error messages.
     
    Last edited: May 13, 2020
  10. Tryptex

    Tryptex

    Joined:
    Jul 3, 2017
    Posts:
    13
    This bug is still present in Unity Hub 2.3.0, It appears to happen on every version after 2.0.0 and only affect Linux Targets.

    Should a bug report be filed?
     
  11. Dadrophenia

    Dadrophenia

    Joined:
    Apr 11, 2018
    Posts:
    3
    Yes, I still experience this bug in Unity Hub 2.3.0 as well. Thank you for the work around, I have filed a bug report for this issue.
     
    crns13 and Tryptex like this.
  12. crns13

    crns13

    Joined:
    Apr 6, 2020
    Posts:
    1
    Your work around works to me in Unity Hub 2.3.0 too.
     
  13. paradigmshift3d

    paradigmshift3d

    Joined:
    May 8, 2020
    Posts:
    1
    This is still present for me in Unity Hub version 2.3.1 on Ubuntu 19.10 64-bit (Linux Kernel 5.3.0-51-generic x86_64).

    The workaround of adding an empty project worked
     
  14. davidljung

    davidljung

    Joined:
    Sep 13, 2019
    Posts:
    1
    Also present for me in Unity Hub 2.3.1 on Ubuntu 20 LTS. Workaround worked.
     
  15. kmithun9

    kmithun9

    Joined:
    May 13, 2019
    Posts:
    5
    Still happens when I installed from scratch today. Ubuntu 18.04
     
  16. johnburkert

    johnburkert

    Joined:
    Mar 28, 2014
    Posts:
    9
    Can confirm it is still an issue with Unity Hub 2.3.2 (on Pop OS 20.04).
     
  17. captain_zonks

    captain_zonks

    Joined:
    Apr 12, 2020
    Posts:
    1
    Confirming this issue on Manjaro 20.0.3 w/ Unity Hub 2.3.2
     
  18. nsmith1024

    nsmith1024

    Joined:
    Mar 18, 2014
    Posts:
    867
    I cant even install android or ios build tools because the already installed Unity 2020 cant be selected in the hub. I think Unity just release anything now-a-days without testing anything. The most basic stuff dont work
     
  19. bryan-blueharp

    bryan-blueharp

    Joined:
    Feb 17, 2017
    Posts:
    16
    Issue still present on Unity Hub 2.3.2 on Ubuntu 20.04.1 LTS. Any comment from Unity team regarding this? Will file a bug report if requested.
     
  20. EzeMar

    EzeMar

    Joined:
    Aug 29, 2020
    Posts:
    1
    Install the Unity hub and Unity version outside the c folder:
    install in Documents, downloads or images, for me it worked, it has to be outside the local Disk C:
     
  21. BujuArena

    BujuArena

    Joined:
    Dec 6, 2014
    Posts:
    5
    This seems to be still an issue in Unity Hub 2.4.0 on Manjaro 20.1. I feel like a Lemming (the game character, not the animal) who followed everyone else off the same cliff.
     
  22. M4R5

    M4R5

    Joined:
    Apr 11, 2013
    Posts:
    32
    Same issue here (Unity Hub 2.4.2, Unity Editor 2019.4.13f1, Ubuntu 20.04.1 LTS)
    Workaround was the solution
     
  23. Yesbird

    Yesbird

    Joined:
    Jul 23, 2014
    Posts:
    6
    Same thing - Win-7 / Unity Hub 2.4.2 - workaround did not help - created project disappears. Create a new project and fill it's directory with existent helps, but after windows restart projects tab empty again.
    I can't move forward with my project, because IAP requires authorization and hense hub.

    Please help !
     
  24. TheSpectralSword

    TheSpectralSword

    Joined:
    Jan 19, 2020
    Posts:
    1
    Same problem here, Unity Hub 2.4.2, Zorin OS 15.3. Your workaround worked. Thank you.
     
  25. ModLunar

    ModLunar

    Joined:
    Oct 16, 2016
    Posts:
    360
    Same issue here, pretty annoying.
    Ubuntu Linux 20.04.1 LTS with Gnome Desktop here
     
  26. Lukalot_

    Lukalot_

    Joined:
    Jun 3, 2018
    Posts:
    1
    Same problem, however the workaround does not work. Arch Linux 2021.01.01
     
  27. michaelf2016

    michaelf2016

    Joined:
    May 13, 2017
    Posts:
    5
    Workaround also works for me. Thanks
     
    jjknopka likes this.
  28. Adil192

    Adil192

    Joined:
    Jan 3, 2020
    Posts:
    1
    Thanks for the workaround :D
     
  29. Mouton

    Mouton

    Joined:
    Mar 21, 2014
    Posts:
    14
    Can confirm, happens on Unity Hub 2.3.2 with Debian 4.19
     
  30. patchuu

    patchuu

    Joined:
    Apr 17, 2021
    Posts:
    1
    This worked for me: Delete both of the folders ~/.config/unity3d and ~/.config/UnityHub.

    Prior to this could not add existing project or create one. Mentioned workaround didn't work.
    I'm on Garuda Linux (based on Arch), hopefully this works for others.
     
  31. duncanx

    duncanx

    Joined:
    Feb 12, 2011
    Posts:
    45
    This finally happened to me today. latest HUB can't add existing projects (for me). Not clear how to roll back. Reinstall didn't help. Ironically...what works is just not having the hub. Here's what you do if it happens to you. 1 uninstall the hub. 2, browse to the version of the unity editor you wanted to open the project with and run it. When you run unity without the hub installed, the first thing it does is asks you what project to open.
     
  32. wagenheimer

    wagenheimer

    Joined:
    Jun 1, 2018
    Posts:
    306
    Thanks, the workaround worked also for Windows!
     
  33. charrierpa

    charrierpa

    Joined:
    Aug 20, 2021
    Posts:
    1
    Still facing that indeed (Linux Ubuntu 20.04 LTS).
    It'd be nice to get that sorted eventually...

    The tip to add a new project first did the trick, many thanks!
     
  34. ModLunar

    ModLunar

    Joined:
    Oct 16, 2016
    Posts:
    360
    The issue still occurs for me on Ubuntu 18.04 with Unity Hub v2.4.5.
    It would be great if this was fixed -- this is pretty important.
     
  35. juls0730

    juls0730

    Joined:
    Nov 5, 2019
    Posts:
    1
    thanks for the workaround works on arch!
     
  36. gileoooo

    gileoooo

    Joined:
    Jan 21, 2022
    Posts:
    1
    Yep. Same. On Ubuntu 20.04. Thank for the Workaround.
     
  37. Android272

    Android272

    Joined:
    Oct 14, 2016
    Posts:
    21
    Wat! Why is this a thing? Thanks for the tip.
     
  38. cmbgold

    cmbgold

    Joined:
    Oct 13, 2019
    Posts:
    4
    This is still a bug in Hub 3.4.1. Using this on Mint 21. I have an old project made using the 2019.4.20f1 editor. I've installed the old editor, but it won't let me open the old project. When I hit Open and select the folder with the old project, I just get a little spinning wheel next to the project entry in the Projects list. It never actually opens. The workaround did not work; after creating a blank project using the newest editor, I was still not able to open the old project.

    Interesting side note, when I create a new project with the old editor, I get the same problem and the new project won't open. For some reason, the hub doesn't seem to like the old editor.
     
  39. adamgffrd

    adamgffrd

    Joined:
    Sep 26, 2018
    Posts:
    35