Then I pass the temporar圜achePath URL to the video player. String destinationPath = System.IO.Path.Combine(Application.temporar圜achePath, "temp.mp4") įile.WriteAllBytes(destinationPath, www.bytes) At runtime, I load the video file using WWW request. Then I tried on Pixel 2 (android 10.0) and I have the exact error above.Įdit 2: I had an idea. It works perfectly fine on my galaxy s8+ (android 9.0). I pasted my file directly in that folder.
#How to change default video player app on android 6.0 mp4#
mp4 file into Application.persistentDataPath + "/myvideo.mp4". It is working perfectly fine iOS and Android except Android 10. Exact same issue here, Unity 2017.4.29f1 (LTS).