I have trouble accessing (writing to) the internal storage /sdcard/Pictures/ (or /mnt/sdcard/Pictures/)
This has never been an issue with Quest 1, but just emerged with Q2.
After installing the APK and running it, Quest 2 asks me to allow permission to access storage, which I confirm.
I’m in Unity (settings below), and the logcat error I’m getting is:
ADB Logcat:
Error Unity UnauthorizedAccessException: Access to the path “/mnt/sdcard/Pictures/xxx.JPG” is denied.
Error Unity at System.IO.FileStream…ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x00000] in <00000000000000000000000000000000>:0
Any idea what the cause and fix might be?
thx, volker
