Facepunch / sbox-issues

175 stars 12 forks source link

[Asset Browser] "Can't go forward/back/path empty" error when trying to go forward/back/parent folder when you, well, cant #6688

Open Retroeer opened 6 hours ago

Retroeer commented 6 hours ago

Describe the bug

This is just an error getting thrown that's not very helpful

To Reproduce

  1. Attempt to go forward/back/ or up a parent folder when you, infact, cannot

Expected behavior

The buttons should be greyed out and unclickable when you cannot go forward anymore, or just not throw the error, either works really

Media/Files

No response

Additional context

No response

Retroeer commented 6 hours ago

This actually happens when you're in your root project folder, in the case for going up to the next parent folder at least, you have to be in the forbidden lands that are outside of the project folder in order to cause the "The path is empty. (Parameter 'path')" error to be thrown, fixing #6689 would probably resolve it?