Hi,
I’m trying to make a system that let me download VideoClip (5.6) form AssetsBundle.
I’think there’s no problem during asset download process. I’m using the AssetBundleManager that can be found on Bitbucket and suggested in the doc. (all the log tel me that the dowload end successfully).
But when i set the downloded VideoClip to VideoPlayer Unity log me an error like this:
I’ve try other platform but is almost the same, only change the reader.
Like Android: " AndroidVideoMedia: Error opening extractor: -10000"
This is the code (C#) that i use to set the clip (quite simple):
// Get the asset.
VideoClip clip = request.GetAsset<Object>() as VideoClip;
if (clip != null) {
Debug.Log(clip.ToString() + " | "+ clip.length);
videoPlayer.clip = clip;
}
Some one have and idea of what could be the problem?
I have try to make a bundle not compressed, but nothing change.
I’ve try the video without bundle (directy) and work fine so is not a video problem.