Quantcast
Channel: Questions in topic: "assetbundles"
Viewing all articles
Browse latest Browse all 312

VideoClip and AssetsBundle problem

$
0
0
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: ![alt text][1] [1]: /storage/temp/91743-unityerrorlog-player.jpg 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() 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.
Please Help! *(sorry for the bad English)*


Viewing all articles
Browse latest Browse all 312

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>