PlayerPrefs doesn't work on Oculus Go

It seems like PlayerPrefs doesn’t work on the Oculus Go because we can’t to get path /data/data/pkg-name/shared_prefs/pkg-name.xml. Save/load functions aren’t working.

The standard code for save:

PlayerPrefs.SetString("data", "someData");
PlayerPrefs.Save();

for load:

PlayerPrefs.GetString("data");

It works perfect on the Windows and the Android in mobile, but doesn’t work on the Android in the Oculus Go.

Maybe i don’t understand something. Has anybody do this?

I use PlayerPrefs on Oculus Go all the time. It works fine. I have no idea what “we can’t to get path /data/data/pkg-name/shared_prefs/pkg-name.xml” means.

1 Like

It’s really strange. PlayerPrefs is a simple method and work good on PC. I can’t find path where is my save-files from PlayerPrefs. I opened device in windows explorer and tried to find the save-files but windows search get nothing.