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
1
Question by Rakesh Jha · May 10, 2010 at 05:29 AM · scenelevelwebstreamingdeployment

With multiple levels in my web game, how do I stream each scene so they download in the background as the user plays?

Hi, i know i am new to unity and thats why i have this question right now.

I have five scenes in my game. 5 scenes i want it to be deployed for the browser game. i want it to be streamed one like if the first scene is running unity keeps on loading other scenes in background and when user progresses through the game he gets the next level with minimum wait time. My game Compresses to around 25 MB [need to compress more i know] and the main scene take 15 MB of the whole percentage.

QUESTION: Please tell me someone How do i achieve this. I have heard about unity asset bundles but cant understand the thing.. Please explain me in some easy terms.

Thankss!!!!!!!!

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
2

Answer by duck · May 10, 2010 at 08:52 AM

You don't need to use Asset Bundles to achieve this, you simply need to structure your scenes so that they stream in the correct order. Asset Bundles serve a different purpose (they allow you to load any combination of additional assets in any order at runtime, wheras scene/level streaming simply streams each whole scene one after the other, in the order you specify).

Start with a small loader scene, followed by your menu / options / instructions scene. You can then arrange the scenes in-order so that your levels stream one after the other. The trick is to try and ensure that the user isn't likely to finish the current scene before the next scene has finished downloading on an average-speed internet connection.

If your first main gameplay scene is 15MB, you will probably need to do some filesize optimisation, or add some kind of compelling pre-game action or animation to cover this delay, because even on a typical fast home internet connection (around 5 megabits/sec at the present) this is still going to take about 30 seconds. Many users will have slower connections.

There is an excellent page which describes the technicalities in the manual, here:
Web Player Streaming

Comment
Add comment · 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

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

No one has followed this question yet.

Related Questions

UI Button deletes Function on start 1 Answer

How to load a different prefab using the same scene? 1 Answer

How Do You Make A Script Start Another Scene/Level? (And Add A Delay For Something In A Script?) 1 Answer

single scene, many levels. efficient? 1 Answer

Web Page Continues To Load After Game Is Loaded 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