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 Kirbyrawr · Apr 22, 2015 at 03:53 PM · animationloadlevelasynchronous

LoadLevel.Async Hiccup/Not working properly

Hi there, i'm trying to use LoadLevel.Async for show an animation while it's loading the next scene, the code i'm using is the one of the script reference, however when i'm trying to run a simple animation (two sprites) on a update function the animation get freeze sometimes, since it's asynchronous i'm not really understanding why this is happening, any hints?

Thanks in advanced.

Comment
Add comment · Show 8
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 gtzpower · Apr 23, 2015 at 02:04 AM 0
Share

I am seeing the same thing since upgrading to Unity 5 (worked fine in 4.6). I only see the issue in my splash screen scene. I have a small scene that loads quickly and shows and animation while the main game is loading. The animation starts and hangs until the async loading finishes. I don't see the problem elsewhere when I use async loading with an animation at the same time, just on my splash scene.

Occurring on $$anonymous$$ac and iPhone 5S

avatar image Kirbyrawr · Apr 23, 2015 at 05:42 AM 0
Share

@gtzpower Thanks a lot for the comment, so now i'm a little more sure that it's a bug :/

avatar image gtzpower · Apr 23, 2015 at 11:57 AM 1
Share

I submitted a bug report last night. Ill let you know what they say (usually they tell me if they can reproduce and if they are forwarding it to the development $$anonymous$$m.)

avatar image gtzpower · Apr 24, 2015 at 08:03 PM 1
Share

I heard back from Unity on this. They found that one of my larger audio files (20mb) that plays in the next scene is holding up the asynchronous loading. They mentioned that the "Load in Background" option would prevent the issue, and they also asked if I had seen this occur in a build (after mentioning that the behavior is expected in the editor). I confirmed that I do see it on a device.

Here comes the strange part... I checked the "Load in Background" option on that audio file and deployed the game to the device. With that option on, I get the "$$anonymous$$ade with Unity" splash screen ins$$anonymous$$d of my own :/

I will keep you posted when I hear back from them.

avatar image gtzpower · Apr 24, 2015 at 08:09 PM 1
Share

As a side note, this large audio file was added after upgrading to Unity 5, but before I had tried running a Unity 5 app on a device. So it may or may not be a Unity 5 specific issue. I don't know for sure at this point.

Show more comments

2 Replies

· Add your reply
  • Sort: 
avatar image
3
Best Answer

Answer by gtzpower · May 08, 2015 at 01:46 PM

The Unity team has confirmed that they can reproduce the issue and they have sent it to their development team for resolution. You can now track the issue (at least the one I am experiencing) here:

http://issuetracker.unity3d.com/issues/loadlevelasync-hangs-for-a-moment-when-loading-a-scene-with-large-audio-files

Comment
Add comment · Show 1 · 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 Kirbyrawr · May 09, 2015 at 11:12 AM 0
Share

Thanks a lot, voted positive!

avatar image
0

Answer by WillNode · Apr 22, 2015 at 04:47 PM

see here

LoadLevelAsync cannot displayed right in the editor, this only works when you play your game outside from the Editor.

Comment
Add comment · Show 1 · 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 Kirbyrawr · Apr 22, 2015 at 05:48 PM 0
Share

Hi there my friend i knew about that but it's doing the same thing on a nexus 9, it's not a problem related to the editor, however thanks for take your time to reply!

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

21 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

Related Questions

How to begin animated skybox at same point in sequence as when the scene ended? 0 Answers

Animated Loading Screen Unity Indie 0 Answers

Quick question. How do i get an object to come down once all AIs are destroyes and then when i come near it it loads a level 1 Answer

switching levels when inside a trigger 1 Answer

Can the animation editor create local rotational data? 3 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