Skip to main content
New Participant
June 12, 2019

File Path of Oculus Quest Internal Storage

I am trying to create a text file and save it to the Quest internal storage when my application is run? Does anyone know the path in order to do this?
I am using Unity if that makes a difference.

    1 reply

    Participant
    June 17, 2019
    Try something like this:
    StreamWriter thisWriter = new StreamWriter("/storage/emulated/0/yourfile.txt",false);

    thisWriter.WriteLine("This is my file contents");
    thisWriter.Close();

    You'll need to set external write permissions in the player settings.
    Then also be aware that because the quest does file transfer by MTP, you might need to unplug and replug the quest for the file to show up.
    Good luck!