Closed LightGather closed 3 years ago
I have the same problem. please review this issue.
Can you provide the requested information please?
Hi, I found a temporal solution. Add android:requestLegacyExternalStorage = "true" to a AndroidManifest file. This is the code that gives temporary permission to the storage path in Android 10. (https://forum.unity.com/threads/android-10-and-scoped-storage-missed-features-in-unity-2019.749333/) The strange thing is that without the code that grants this permission, the video shouldn't load at all. Because of this reason, The Unity video player cannot load external files on Android 10. But in AVPro Video, it loads, but it works as if there is something wrong. Regarding video format, I found these issues for various video formats (I tested more than 30 different videos). I guess that it's not a problem of specific video resolution or codec.
This is interesting, I would have thought setting 'Write Permissions' in Unity 'Player Settings' would do the trick.
Maybe checking/requesting permissions might help? Info here
@damonkim80 Can you confirm the fix suggested by @LightGather addresses your use-case as well?
@RenderHeadsSte Yes. I've fixed it. :) but It doesn't seem to be perfect solution. please keep checking it on new version.
Describe the bug Multiple videos are not played on Android 10 (Galaxy s9+)
Your Setup (please complete the following information):
To Reproduce