Shortcuts to the user's home dir like %userprofile% on Windows and ~/ on Linux don't work as expected when summoning the open file panel.
var paths = SFB.StandaloneFileBrowser.OpenFilePanel("Open File", "%userprofile%", extensions, false);
Using %userprofile% for example opens the panel on the same executing dir with .../UnityApp/%userprofile%/ in the file name field.
Using C:/Users/user instead corrects this behaviour to open on the user's home dir be default as desired, but its silly to hardcode user names.
Shortcuts to the user's home dir like
%userprofile%
on Windows and~/
on Linux don't work as expected when summoning the open file panel.Using
Using
%userprofile%
for example opens the panel on the same executing dir with.../UnityApp/%userprofile%/
in the file name field.C:/Users/user
instead corrects this behaviour to open on the user's home dir be default as desired, but its silly to hardcode user names.