Jump to content

Recommended Posts

Posted

Hi, I'm trying to access a .txt file located in the SD card of my Focus 3 in Unity's Editor.

No problem getting the path and reading the file on build, I've got a function to get the path.

However, to get the path in editor, I'm using string path = EditorUtility.OpenFilePanel("Get file", "", "txt");. Which does work for other disks than the SD card but returns nothing when I specify the .txt file located in the headset SD card.

 

Any idea? Am I doing something wrong? Do I need to authorize access somewhere?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...