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 /
avatar image
0
Question by fleity · Apr 04, 2016 at 03:43 PM · video streamingmovie texture

Using a lot of big video textures exceedes sharedAssets0.assets max filesize | best practice for video textures?

Hi,

I am making an application which is supposed to show a few rather long / big video files. In the end it is not that simple but for now lets say I am building a video player with a fixed set of videos. When I import the movie files (preconverted to .ogv) as textures to display them on a quad the final build breaks due to the large size of sharedAssets0.assets.

What is the best way to resolve this? I've seen that using StreamingAssets like on a handheld device might be an option but I am unsure about how to display the files. There would also be WWW.texture but that seems like a weird workaround rather than an actual solution.

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

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by phil_me_up · Apr 04, 2016 at 04:31 PM

I've never come across this before. First thing I'd try is moving the video textures into the Resources folder . You'll probably have to change how you load them in but that should be trivial. You'll also be able to unload them once done which will be better for memory on the device.

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 fffMalzbier · Apr 04, 2016 at 04:44 PM 0
Share

I would recommend switching to assetbundles. unity is planning to fade out the support for the resources folder.

avatar image fleity fffMalzbier · Apr 04, 2016 at 05:08 PM 0
Share

okay assetbundles sounds like an idea worth trying. Basically I just define the bundles in the inspector and then I use something like this or AssetBundle.LoadAllAssets(). Although I don't really get what LoadAllAssets return or how I adress a specific asset?

And is there a better way to get the reference to an assetbundle than a www path?

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Run movie in VLC player 3 Answers

Video speed increases then using more then 1 copy of prefab with same audio of that video 0 Answers

Unity stream video tutorial? 1 Answer

I want to make a video chat between two users in unity3d. How can i proceed? 0 Answers

How can I live stream 360 video on Unity? 0 Answers


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