Search Issue Tracker
By Design
Votes
31
Found in
2018.1.0f2
Issue ID
1033212
Regression
No
[Android] Loading videos from AssetBundles fails unless it's uncompressed and loaded from file
Steps to reproduce:
1. Open user attached project
2. Build and Run on a device
3. Observe that loading uncompressed from file works
4. Observe that loading compressed from file and cache fails as well as loading uncompressed from cache
Expected result: loading videos from AssetBundle should not fail when it's compressed and loaded from file and cache as well as uncompressed loaded from cache
Reproduced in: 2018.3.0a1, 2018.2.0b4, 2018.1.0f2, 2017.3.2f1
Reproduced with:
LGE Nexus 5, OS Version 6
Samsung Galaxy S5 Mini, OS Version 6
HTC One Mini, OS Version 4
Does not reproduce on iOS, tested with: iPhone 6, iOS 10.3
-
HambaliJ
Jul 04, 2019 09:02
Issue still persist on 2019.1.2f1.
Android Logcat throws an error "AndroidVideoMedia::OpenExtractor could not translate archive to local file. Make sure file exist, is on disk (not in memory) and not compressed.
-
GSN_Damir_Imaev
Dec 14, 2018 13:21
Another Unity feature that works on paper but doesn't work in real life.
-
shoutrlabs
Nov 02, 2018 14:17
We also face this issue. IOS works like a charm, android does not. Would be great to see this fixed anytime soon.
-
UweR7
Oct 23, 2018 13:18
Due to the fact that we have the same behavior but do not see the "VideoPlayer cannot play clip" error:
What must be done to see this error? -
sdalex
Aug 20, 2018 20:41
We have try with version 2018.2.3f1 and 2018.2.4f1 to load a VideoClip from an assetbundle for Android.
It give us the following error:
"VideoPlayer cannot play clip"It work on iOS though.
Video transparency not working from file so we will end up packaging the final Android APK with all the videos.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Unsupported texture format R16 for a swizzle" error and texture is not correctly rendered when using texture Swizzle and reimporting texture asset
- Tab order is incorrect after re-ordering
- [Ubuntu] Red squares instead of ticks in dropdown options
- Multiple simultaneous input with the touch screen sometimes leaves button in not default state
- Crash on ShowDelayedContextMenu(bool) when changing the Size options of a Visual Element in the UIToolkit Inspector
Resolution Note:
This is not currently supported by the Unity video player. We do, unfortunately, have some platform-specific limitations and this particular one is noted here (under Android notes): https://docs.unity3d.com/ScriptReference/Video.VideoPlayer.html.
Our Android implementation currently uses Android's MediaExtractor and this library does not support flexible input handling going all the way back to the early versions of the OS that we currently support.
In Unity 2020.x, we will add this feature, but it will only be supported on more recent versions of Android.