Is it possible to write a text file from the oculus quest and save it in the internal storage? — Oculus
New to the forums? Click here to read the "How To" Guide.

Developer? Click here to go to the Developer Forums.

Is it possible to write a text file from the oculus quest and save it in the internal storage?

grismorgrismor Posts: 2
NerveGear
I am creating a program for a research study and we need to record the answers that participants give. Since it is not connected to the computer we cannot use the Unity console nor create a text file on the computer. Therefore we need to create a file on the Quest, add to it when needed, and save it so that we can retrieve it when the quest is plugged into a computer. I have tried using Application.persistentDataPath and Application.dataPath but the file is no where to be found in the internal storage of the Quest.

Answers

  • chris.tmssnchris.tmssn Posts: 2
    NerveGear
    i have the same problem :( perhaps no permission to write on file system?
  • SuperDogoCocoSuperDogoCoco Posts: 2
    NerveGear
    I'm not sure if this is the problem but, have you installed an oculus go (compatible with quest) ADB driver? When the Quest is plugged in it needs to communicate with the computer and that's what the ADB driver is for. Here's the link if you need it. https://developer.oculus.com/downloads/package/oculus-go-adb-drivers/
  • chris.tmssnchris.tmssn Posts: 2
    NerveGear
    I'm not sure if this is the problem but, have you installed an oculus go (compatible with quest) ADB driver? When the Quest is plugged in it needs to communicate with the computer and that's what the ADB driver is for. Here's the link if you need it. https://developer.oculus.com/downloads/package/oculus-go-adb-drivers/
    For me I don't think so... I have access through the file explorer and can install apk via adb. So that's working.
    I create a File via script (File.WriteAllText(...)) and also I'm able load the data from it in the Application... so the file should be there, BUT if I connect the Quest to the PC, there isn't the saved file in the 'internalSharedStorage'/Android/data/'projectName'/files folder :(
Sign In or Register to comment.