I need my users access to the persistentDataPath in Explorer, Application.OpenURL(Application.persistentDataPath); does not work and results in a failure. Anyone know how this can be done?
What kind of failure do you get?
I apologize, I should have included the log initially. It’s not very informative, but here it is:
OpenURL failed with url C:/Users/danie/AppData/Local/Packages/ShotPro_ksmqfnr5wwym6/LocalState
What if you use proper URI there? Try prepending the path with file:///
No luck, I tried file:/// and file:// but neither one worked. The error message seems quite unhelpful. Any other ideas?
Perhaps try using Windows.System.Launcher.LaunchFolderAsync function instead?
Assets\Plugins\ShotPro\WSA.cs(80,35): error CS0117: ‘Launcher’ does not contain a definition for ‘LaunchFolderAsync’
I am targeting Windows 8.1.
I found another person asking the same question:
@Tautvydas-Zilys is that still the case? Is it still not possible?
It could be that the API was added on Windows 10 - Microsoft docs aren’t very clear on that.
What would you expect to happen on Windows Phone or HoloLens or Xbox? They don’t really have the concept of Windows Explorer.
Oh, I didn’t think of that. Makes sense though.