You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Take unity recent projects from registry (like it does already)
Load your existing own dictionary or list, of all recent projects (up to 100-200, depending if it starts to get too slow)
Merge unity registry and full list, can do that because project path is unique, so can check duplicates
Sort list by date before adding as source (or enable datagrid modified column sort as default)
Display full merged list (or unity 40 list), depending on your setting
Add settings checkbox: show only unity registry projects or keep x amount of projects history
trim list to max length (after sorting by date)
add new items to preferences list, but when? on datagrid refresh, if added project, or on exit? (and need to filter duplicates)
duplicate project: backslashes vs forward slashes
handle moved folders (remove from custom history?, but then if want to have show missing projects..) *they get filtered out most of the time, because on sorting, null modified dates go to last (before trimming project list)
enabled setting only takes effect after restart app?
bug: missing project displays target platform, even though it hasn't any, and if search, it doesn't display platform *it was sorting issue?
needs option to remove single items from list, since now some random project might end up on the list (of 1000 projects), even if its never used again.. (restore old "delete project from list" context menu? it deletes item from registry OR from custom list.. i think it works now, since projects are sorted) *Unity Hub moves next registry items to removed project items places, and then leaves only 0-38 items on the registry list, but they are not sorted.
handle situation: project is in both registry and custom list, should remove from custom list then? *i think this is already in, at GetProjects.scan()
handle situation: if have enabled show missing projects? might get lots of them, if have 1000 projects in history.. *can remove projects from context menu
Extras later:
multi-threading might be needed to scan project properties
window where user can remove projects from that custom full list (or clear preferences list button)
Checkbox/Combobox to select which types of projects to display (Hobby, Work, Prototypes? This could be useful to quickly filter out all quick projects (based on folder path))
OR, user could tag/favorite some projects, that then get added to custom list (always available, even if not listed in registry)
listbox in settings, to insert unity project root paths (so all folders get scanned and added from those folders, always)
option to AutoRemove projects after x days?, save lastopened.txt in non-git folder, cannot use last modified date to remove, or can we?
need to see where this project is coming from (from unity registry or from custom list), otherwise feels strange to see different list and order in hub
old text
current limitation comes from unity, they only save 40 recent project items into registry.
Computer\HKEY_CURRENT_USER\Software\Unity Technologies\Unity Editor 5.x RecentlyUsedProjectPaths-0 to RecentlyUsedProjectPaths-39
could save them to separate dictionary, project path as index key?
but will there be issues merging unity registry recent items, with custom saved list ?
(since there will be duplicates, deleted projects, and need to sort by date also)
or manually save into unity registry, with new added item numbers?
(but does it mean if you open new project, you need to modify 40+ reg keys to append item as first?)
some ideas what needs to be done:
Extras later:
old text
current limitation comes from unity, they only save 40 recent project items into registry.
Computer\HKEY_CURRENT_USER\Software\Unity Technologies\Unity Editor 5.xRecentlyUsedProjectPaths-0toRecentlyUsedProjectPaths-39could save them to separate dictionary, project path as index key?
but will there be issues merging unity registry recent items, with custom saved list ?
(since there will be duplicates, deleted projects, and need to sort by date also)
or manually save into unity registry, with new added item numbers?
(but does it mean if you open new project, you need to modify 40+ reg keys to append item as first?)