Title says it all, my biggest pet peeve from using unity 8 hours a day 5 days a week and about 3-4 hours a day at weekends is that there is no way to go “back” in the project panel. This is fine if you are in the same folder structure as you can use the breadcrumb to go back, but if you jump to a different folder altogether you get no way to go back to where you were in a single click.
In a big project with many folders it means you are scrolling through folders and collapsing / expanding until you find the right one again, and just feels archaic in a 2019 application.
So can we please get a back button? One that actually takes us back to last folder project panel was in.
I am pretty sure I could write an editor extension to do this but it feels like everyone would benefit from this.
I would love this. I keep trying to hit it every time, but find it missing. Anyone try this asset on the Unity store? I’d hate to add it to a group project though. I’d break it, I’m sure.
To open the window, look under the Tools menu. Dock the Asset Selection History above Project Window / wherever.
Tested in 2019.4.8f1 and 2020.2.0a19.
The checkmark clears the History and adds whatever’s currently selected.
Edit: 2020-08-20, unitypackage attached to this post updated to latest version.
Edit: same day, again, to 1.0.2… see later in the thread or changelog in source.
Persistence. I’ve already solved this and now have the history saved to EditorPrefs, silently restored as necessary. History was being lost when entering Play Mode or restarting the Editor. The references are now stored and restored by their GUIDs.
Duplicates. If you select something that already exists in the list and it wasn’t the previous selection, it will add it again - so selecting PrefabA, then PrefabB, and then selecting PrefabA again will have created 3 items in the history. I want this to just change the item selected in the dropdown to the matching selection so you can toggle between things like usual without any clutter.
I’ll probably do the second thing today …maybe more, then I’ll post the update
/*
2020-08-20 - 1.0.1
- Fixed
- Entering Play Mode would result in the History being lost.
- Added
- History is now saved to EditorPrefs and restored when reopening Unity or as necessary.
- Ability to reselect the indicated selection (i.e. for after deselection).
- Ability to remove current selection from the list.
- Changed
- The button that previously was used to clear the history now opens a menu.
- Selecting the same objects as a selection already added to history will
now re-select that in the list instead of adding a duplicate, up to LIMIT_DUPLICATES
number of most recent selections, or 0 (allow), -1 (check all).
- By default, this only checks for duplicates in the 100 most recent selections.
*/
Edit: I didn’t consider multiple projects - it’s an easyish fix, just have to change “ash” to be something like (“ash_” + unique_project_string),
has another problem in newer engine versions too - at some point there started to be submenus in the history dropdown as well for some combinations of selections, haven’t tested in ages and may be other things that don’t work as before, but of course feel free to modify however. I did this quick like 2.5 years ago in the span of a day or two but plenty of room for cleanup/improvement. If anyone wants to update or maintain it and [hopefully] share with everyone please do
Doesn’t work in 2022.3.
Even such a simple thing hasn’t been implemented yet. It’s extremely time consuming to find the previous file and go back to it manually.