Unity Hub not opening Projects On Linux [SOLVED]

Hey,

I recently spent hours trying to solve this issue and couldn’t find anything online so I figured I’d post this to help out anyone who stumbles across this issue.

Essentially the problem was that Unity Hub 2.1.2 on Ubuntu 18.04 was not able to create new projects or open existing ones. The Hub would just close and no project files would be created. The project appeared in the list of projects but could not be removed, and upon trying to open it would prompt that the directory does not exist.

The solution for me was to attempt to run the editor from the command-line by:

cd
./Unity

And upon inspecting the output I saw:

“error while loading shared libraries: libGLU.so.1: cannot open shared object file: No such file or directory”

And so I installed the missing libglu1 package with
sudo apt-get install libglu1

Opening a new project from Unity Hub now works as expected.

8 Likes

This could be another error while resolving the issue.

“error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory”

This error is most likely due to a recent change in a package for Google Chrome - it no longer pulls in libgconf-2-4 as a dependency.

Adding in a step like the following:

  • run: sudo apt-get install libgconf-2-4
    should get your builds back to normal.

https://support.circleci.com/hc/en-us/articles/360004086734-error-while-loading-shared-libraries-libgconf-2-so-4-cannot-open-shared-object-file-No-such-file-or-directory#:~:text=4%3A%20cannot%20open%20shared%20object%20file%3A%20No%20such%20file%20or%20directory,-Fernando&text=This%20error%20is%20most%20likely,2-4%20as%20a%20dependency.&text=should%20get%20your%20builds%20back%20to%20normal.

2 Likes

you are a life saver, i can’t thank you enough

1 Like