Can we get a back button in the project panel?

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.

A couple times a week I find myself looking for this back button, only to again remember no it doesn’t exist. Every few days rinse/repeat.


Yes! Yes please!


While we're at it, copy/cut/paste as well please.

1 Like

Inspired by this post..

6224589--684615--AssetSelectionHistory_2019_4_8f1.jpg 6224589--684618--AssetSelectionHistory_2020_2_0a19.jpg

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.

6224589--685254--AssetSelectionHistory v1.0.2.unitypackage (18.8 KB)


There are some deficiencies I've noticed:

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),

  void SaveHistory()
    EditorPrefs.SetString("ash", string.Join<string>("?", guidsEncoded));
  void LoadHistory()
    string value = EditorPrefs.GetString("ash", "");

I’ll try to figure out where to get the unique identifier, unless someone who knows can tell me first :slight_smile:

Edit: Solved. Replace the two occurances of "ash" with "ash_" + Application.dataPath

Edit: Updated attachment to latest version, 1.0.2

  2020-08-20 - 1.0.2

  - Fixed
    - Different projects would use the same history.

6224589–685254–AssetSelectionHistory v1.0.2.unitypackage (18.8 KB)


great,but the window height has some problem,that is too tall,in 2021 lts

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 :slight_smile:

the fact that there’s no back button by default, blows my mind

This little utility is golden. Great job @adamgolden ! Bummer that Unity doesn't add this by default.

1 Like