Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question Is it possible to extend the Hub?

Discussion in 'Unity Hub' started by Rowlan, Jan 2, 2024.

  1. Rowlan

    Rowlan

    Joined:
    Aug 4, 2016
    Posts:
    4,405
    Is there an API for the Hub for meta information? I need to:

    * allow tags, most notably the render pipeline
    * show screenshots
    * set descriptive texts
    * show list of installed assets

    I have 100s of projects and it's getting hard to find what I have in which one :)
     
  2. https://github.com/unitycoder/UnityLauncherPro
    https://forum.unity.com/threads/uni...t-automatically-unity-hub-alternative.488718/

    You can either do it yourself or you can talk to @mgear, I'm pretty sure if he has the time he will help you out.
     
  3. Rowlan

    Rowlan

    Joined:
    Aug 4, 2016
    Posts:
    4,405
    Thanks, but I'm not searching for a 3rd-party solution, as much as I appreciate that though :)
     
  4. I don't think there is any kind of API for the Hub and I think we will never have one.

    Obviously you can try to manipulate the
    .asar
    file, AFAIK that is where Electron stores all of its files. Through this for example: https://github.com/electron/asar but I wouldn't bother with this, 3rd-party solutions are simpler and better.

    Disclaimer: this is an educated guess, never worked with Electron before, so I may be wrong.
     
  5. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,516
    yeah, can unpack the asar file and then play with electron js/html files to customize anything,
    but then have to do it again for every hub update.. : D
    https://forum.unity.com/threads/renaming-projects.514061/page-2#post-9516265

    but literally all those OP requested features could be added into current hub within few days or week..

    *i think i'm going to steal that screenshot idea for myself : ) simple editor script could be used to snap thumbnail image for the project (which is then shown in mouse over or right click panel in the project list).

    already planning to add renderpipeline column on custom hub, to easily see what project has URP installed or so.
     
    Lurking-Ninja likes this.