Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
0
Question by Kromos92 · Apr 10, 2017 at 04:42 PM · assetbundlesvideos

VideoClip and AssetsBundle problem (5.6)

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

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.

unityerrorlog-player.jpg (26.1 kB)
Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
3

Answer by MiteshJSavaliya · Jun 06, 2019 at 03:31 PM

 private void Awake()
     {
         Caching.compressionEnabled = false;
         Caching.ClearCache();
     }
Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image shashkes · Sep 05, 2019 at 08:09 AM 1
Share

yes this worked! should be upvoted more!

avatar image
0

Answer by AlbertoSalietoStarloop · Jun 23, 2017 at 08:26 AM

I got same problem too but i can't find a better solution. Currently I'm downloading the video files using www and loading them from the streaming assets folder, but i'm still waiting for a videoplayer fix.

Also follow this post to get updated. https://forum.unity3d.com/threads/load-videoclip-in-assetbundle-on-android.466850/

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image $$anonymous$$ · Nov 28, 2017 at 08:25 AM 0
Share

Any Updated on this issue? I'm facing the same problem

@AlbertoSalietoStarloop @$$anonymous$$romos92

avatar image AlbertoSalietoStarloop $$anonymous$$ · Nov 28, 2017 at 09:35 AM 0
Share

Still buggy...

"AndroidVideo$$anonymous$$edia OpenExtractor unable to open archive [...]" UnityEngine.Video.VideoPlayer:INTERNAL_CALL_Prepare(VideoPlayer) UnityEngine.Video.VideoPlayer: prepare() (at /Users/builduser/buildslave/unity/build/artifacts/generated/common/modules/Video/VideoPlayerBindings.gen.cs:175)

Tested on Unity 2017.2.0f3 (64-bit)

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

102 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How do i play a video from the web, on my unity game? 0 Answers

Video Player: 'Material Override' Missing? 0 Answers

Compress AssetBundle will build assetbundles 0 Answers

Problem with Asset Bundles in Unity 2020.3.30f1 1 Answer

How can i play various videos on one gameobject and switch them by pressing a button? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges