Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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
2
Question by rustofelees · Apr 30, 2013 at 06:51 PM · loadinglevelstreamingasynchronous

Difference between LoadLevelAdditive and LoadLevelAdditiveAsync

I'm putting together a fairly large world where I'll need to stream in multiple scenes at a time based on a character position. I've read about LoadLevelAdditive and LoadLevelAdditiveAsync from the unity docs, but am curious if people could elaborate on the differences. It seems as though LoadLevelAdditive will work, as long as I track what levels should be loaded/unloaded at a given time. However, there seems to be additional benefits by using the alternative (being that Unity Pro is also required). Keep in mind, I would prefer if there were no loading screens and that performance not take a huge hit while loading in other parts of the world.

Additionally, when streaming, do developers typically use a square grid system, or are there advantages to using a grid system that does not consist of square chunks? I can imagine that a hex base grid system may have performance advantages.

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 whydoidoit · Apr 30, 2013 at 06:58 PM

The difference is that using LoadLevelAdditive your game will pause while the level is loaded. The Async version will load it in the background and then add it when it's finished (or if you use the new allowSceneActivation property of the AsynOperation you get back from LoadLevelAdditiveAsync it won't be added until you are ready for it).

I would suggest the best thing to do would be this.

  • Identify areas where the player can go next.

  • Load all of those areas with LoadLevelAdditiveAsync

  • When the player leaves an area, recalculate which areas to load and discard irrelevant ones if memory is tight.

Comment
Add comment · Show 3 · 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 rustofelees · Apr 30, 2013 at 08:27 PM 0
Share

Thanks - this clears up the distinction between the two. Beyond the pause that will happen when using LoadLevelAdditive and being able to specify the load when I'm ready, are there any other advantages to using the aforementioned loading option? Seems like I can use LoadLevelAdditive as a temporary solution until I'm ready to purchase the full version.

avatar image whydoidoit rustofelees · Apr 30, 2013 at 08:35 PM 1
Share

Yes do that.

avatar image whydoidoit rustofelees · Apr 30, 2013 at 08:36 PM 1
Share

BTW don't post comments as Answers. On UA Answer means Solution and not Reply - there's an add new comment button under every post.

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

13 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

Related Questions

Game crashes or does not load levels when told to? 2 Answers

Avoiding asynchronous loading lag 0 Answers

LoadSceneMode.Single seems to be not working. 0 Answers

Odd Texture Behaviour when moving between Scenes 0 Answers

pre-load multiple scenes but only activate one 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