I often have to move projects to a new location on disk (or I have to rename a folder for… reasons…). As far as I know the hub has no option to tell it the new name or location for an existing project.
How do I update a project location without removing the old project and adding a new project to the hub? Which works but is cumbersome and means I have to setup things like command line argument manually for the new location.
Check under AppData … in one of those Unity (Hub) folders you’ll find the configuration of the hub. One of the files contains the project list, which is a text format (json I think). You can edit the paths in that file.
Make sure you close the Hub before moving projects or editing this file.
Right. I didn’t went to go and look for the internals, which I guess, I should have.
The problem though is that it still somewhat cumbersome, ideally the UI in the hub would just detect the project directory no longer existing and prompt the user to pick a new one.