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
0
Question by hexagonius · Dec 09, 2014 at 02:36 PM · loadingfreezetransition

LoadLevelAdditiveAsync useless?

I have 3 scenes setup.

  1. Just a simple menu, from which I can choose other scenes. I selected a scene which was loaded via LoadLevel, which was

  2. a transition scene only playing 2 animations and showing a text.

  3. Is the level to be loaded asynchronously via LoadLevelAdditiveAsync

From Debug logging the loading status I could confirm, that the content was actually loaded async. All good up to here. As soon as the new content loading kicked in the animation I played just froze. Took about 3 seconds, then the animation went on and I could see the scene contents. That's all on mobile. From the profiler (taken off of the editor, and I know the documentation says it's slower, but does show the same behaviour) I got this:

alt text

That huge spike is apparently caused by some Loading.AwakeFromLoad. I already tested to disable all Gameobjects with scripts on them, even returned from any Awake() methods instantly, since they are not ignored by simply disabling Gamebjects. I litterally stripped the whole scene from everything that's not a sprite.

What else is needed to get an additive load to smoothly integrate the new content? There seems to be no way to control how fast or on what thread new stuff is loaded? Maybe one needs to parse everything into some XLM document after scene setup and do an instantiate routine by themselves, I don't know.

Would be great if there was a little more about how this is supposed to be addressed, the documentation does not say anything about those Profiler functions, nor how content is loaded in which order or on what thread or... ???

I mean smoothness is kind of the most important part about a good game experience, right?

screen shot 2014-12-09 at 11.44.55.png (91.6 kB)
Comment
Add comment · Show 3
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 smoggach · Dec 09, 2014 at 06:01 PM 0
Share

Unity async features are a lie. They merely work like coroutines and aren't actually async. You will have to use native threading to accomplish a smooth transition.

avatar image hexagonius · Dec 09, 2014 at 08:27 PM 0
Share

You sure about that? How did you find out?

avatar image smoggach · Dec 09, 2014 at 08:32 PM 0
Share

I remember reading about it somewhere in the documentation that async didn't work on iOS in particular but now I can't seem to find it.

0 Replies

· Add your reply
  • Sort: 

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

26 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

Related Questions

Main Scene keeps becoming corrupted randomly. 0 Answers

LoadSceneAsync freeze workaround 0 Answers

Huge lag and/or crash when clicking on a transition in Animator 0 Answers

LoadLevelAsync is acting like LoadLevel 5 Answers

Unity 'Hold On' upon launch goes forever 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