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

Unity Hub not opening Projects On Linux [SOLVED]

Discussion in 'Unity Hub' started by francisplanning, Oct 23, 2019.

  1. francisplanning

    francisplanning

    Joined:
    Apr 12, 2018
    Posts:
    1
    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 Install Directory>
    ./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.
     
  2. Mahwish-Raheel

    Mahwish-Raheel

    Joined:
    Jun 5, 2022
    Posts:
    1
    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-...y.&text=should get your builds back to normal.
     
    sandilyasg likes this.
  3. dawit927

    dawit927

    Joined:
    Nov 23, 2019
    Posts:
    1
    you are a life saver, i can't thank you enough
     
    sandilyasg likes this.