Videoplayer not working in android (opengl error)

testing simple scene with videoplayer and url:
http://download.blender.org/peach/bigbuckbunny_movies/BigBuckBunny_640x360.m4v
tried also https://raw.githubusercontent.com/mediaelement/mediaelement-files/master/big_buck_bunny.mp4

unity:
2017.4.1f1
and 2017.4.16f1

error in device log:
OPENGL NATIVE PLUG-IN ERROR: GL_INVALID_ENUM: enum argument out of range
(Filename: /Users/builduser/buildslave/unity/build/Runtime/GfxDevice/opengles/GfxDeviceGLES.cpp Line: 335)

settings
3933643--336214--upload_2018-11-27_18-22-47.png

Phone:
(Xiaomi) Redmi 6

Others:
Tried opengl 3.0, 2.0, automatic. Disabled multithread rendering…

2 Likes

huh… error was caused by having rawimage in the UI.

Default rawimage (100x100) works,
but if you scale it then you get opengl error in video player…
(maybe it happens if rawimage covers video)

Same Issues on some Meizu devices
Unity 2018.4.23

same
and default raw image dont solve problem

Hey. Have this exact issue, on unity 2022.19 (latest lts)
Did you manage to fix it?

Same issue on Samsung Galaxy A12 (probably on all devices with chipset Helio P35).
Reproduced on Unity 2022.3.29 and lastest Unity 6.000.0.26.