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 lnvaderZlM · Sep 20, 2016 at 08:31 PM · webplayerstreaming

Streamed Web Player build not starting the game until the whole thing is downloaded?

Hi! I just got my own website and have been trying to host Unity games on it. Some of my games are pretty big, so they take a while to load. I saw an option to have the content streamed so that the first level is playable while the rest of the game loads. This doesn't seem to be working for me, though?

The way I have it set up is that the very first level (number 0 in the build order) is a sort of loading level game that automatically moves to the main menu when the entire rest of the game is loaded. But uploading it to my website and testing it out, it seems to load the entire game before playing the first scene (which immediately cuts to the main menu, since the entire game is loaded).

Am I supposed to do anything else aside from ticking the "streamed" option and making the loading level scene the first in the build order?

I'm using 5.3.6f1, if that makes a difference.

Thanks in advance for any assistance!

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 Bunny83 · Sep 20, 2016 at 10:35 PM

Well, besides keeping the first level small, use as few assets as possible in that first scene and not using any Resources folders there's nothing we can do for you. Streaming has worked for us just fine in the past. Things that need to be loaded with the first scene are:

  • Well, the first scene

  • All resources from all Resources folders

  • All script assemblies (so all your scripts). However scripts are usually small compared to other assets.

Keep in mind that when you switching to the main level right aways in Start or Update, you won't see anything. Loading a level that hasn't yet been loaded will effectively pause the game until the level is loaded.

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 Wahooney · Jan 08, 2017 at 03:20 PM 0
Share

I'm experiencing the same issue (Building with 5.3.7), no Resources, first level is 265kB according to build stats, Strea$$anonymous$$g is definitely on and the build downloads 100% before starting.

Any ideas?

avatar image Bunny83 Wahooney · Jan 20, 2017 at 02:57 AM 0
Share

$$anonymous$$eep in $$anonymous$$d that if the user hasn't yet downloaded the player engine for your build, the webplayer plugin first downloads the player engine from Unity which probably takes much longer than your data file download.

Even when the player version is already present on your PC, the Unity engine itself will initialize itself before starting the first level. If your data file isn't that large it will most likely be ready before the game starts.

How large are your other scenes / your data file in total ? How long (in seconds) does it take for the webplayer start the first scene?

For example you can use a local proxy server that has a log or WireShark to figure out when the download of the data file has finished. For me that's long before the "loading bar" even reached the middle. I don't have a very large build though ^^. Nowadays most internet connections are too fast. If you use FireFox you can press F12 and check the network analyse (usually the last tab). There you can see how long your data file took to download. You can even watch it in realtime while reloading the page.

I don't use google Chrome, but i read that it has a network simulation option in the F12 menu which allows you to simulate a slow network connection.

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

6 People are following this question.

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

Related Questions

Webplayer displays garbage on Application.LoadLevel 0 Answers

Unity Web Player streaming issues 1 Answer

How to speed up loading and optimize my game? 1 Answer

How o I prevent streamed video stutter? 1 Answer

Webplayer quality is lousy. 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