Search Issue Tracker

Fixed in 2018.3.X

Fixed in 2017.4.X

Votes

0

Found in

2017.4.17f1

Issue ID

1120611

Regression

No

VideoPlayer is not playing videos on Android 4.4 when executing Play() method

Video

-

To reproduce:
1. Build attached project "android_video_repro.zip" on Android 4.4.
2. While running the built app, tap the screen to play the video

Expected: video is played
Actual: video is not played

Reproduced in: 2017.4.17f1. 2017.4.19f1
Not reproduced in: 2017.4.16f1, 2018.3.0a1, 2018.3.3f1, 2019.1.0b1, 2019.2.0a3

Note: tested with device
Note2: error thrown after touch event:

W/Unity (17622): AndroidMediaJNI got error: java.lang.NoSuchMethodError: no method with name='clear' signature='()Ljava/nio/ByteBuffer;' in class Ljava/nio/ByteBuffer;
W/Unity (17622): (Filename: /Users/builduser/buildslave/unity/build/PlatformDependent/AndroidPlayer/Modules/Video/Private/AndroidMediaJNI.cpp Line: 27)
W/Unity (17622): AndroidMediaJNI got error: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Float
W/Unity (17622): (Filename: /Users/builduser/buildslave/unity/build/PlatformDependent/AndroidPlayer/Modules/Video/Private/AndroidMediaJNI.cpp Line: 27)

Environment:
Windows and MacOS

Comments (3)

  1. mloszek

    Jul 30, 2019 11:26

    Not fixed in 2018.4.2f1

  2. Makhkk

    Apr 15, 2019 01:37

    still cannot play in 2018.3.8f1

  3. Chris65536

    Feb 22, 2019 11:19

    Not fixed in version 2017.4.21f1!

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.