I want to read a file inside Movies which is a public folder in an app made with Unity.
We are making an app to view VR videos with Unity (2020.3.21f1). I want to play a video in the "Movies" folder, which is a public folder on my Oculus Quest device, but when I browse to a file in that folder, an "access to the path '~' is denied" error occurs. Obviously the file exists, but it cannot be read. Permissions are "ExternalStorageWrite", "ExternalStorageRead" both permissions are given. The accessed folder location is "/storage/emulated/0/Movies". "Exists" returns "True" when checking a folder using DirectoryInfo. But even if there is a file in it, I can't read it. How can I put a movie in the "Movies" folder and watch it in my app? Android Version : Android10 API294.7KViews0likes5Comments