• 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
Question by oliver-jones · May 24, 2016 at 12:53 PM · iosloadresourcesslowasync

iOS - Resources.LoadAsync is VERY slow on older iPads

Hello,

I'm using Resources.LoadAsync to load in prefabs (parts of scenery) at runtime, essentially like 'sub-scenes'.

T$$anonymous$$s method works very well, and loads super fast on my iPhone 6, it takes about 0.5 seconds to load in the prefab from Resource and to then convert into GameObject asset for the scene.

However, on older devices, such as the iPad 3 - it takes about 12 seconds to load in that Prefab from Resource. What would be the reason for t$$anonymous$$s?

The Prefabs (From Resource)

The prefabs are basically chunks of scenery, with mesh, textures and scripts. These are saved into my Resource folder, and then I use script to load it in dynamically when requested:

 request = Resources.LoadAsync( "_SteamingPrefabs/" + GetPrefabName(s), GameObject );
 
     if(request == null){
         Debug.LogError("[SERIAL] Request is NULL");
         return;
     }
 
     w$$anonymous$$le(request.isDone == false){
 
         var _f : float = request.progress * 100;
         print("Loading: " + request.progress * 100 + "%");
         progressWheel.SetPercentage( _f );
         yield WaitForEndOfFrame();
     }

It's the actual loading of the resource that takes a long time.

iPad 3 Spec

  • 1 GHz Dual-Core ARM Cortex-A9

  • 1 GB Ram

  • Apple A5X

So why is t$$anonymous$$s? Is there any way I can speed t$$anonymous$$s up?

Comment

People who like this

0 Show 0
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

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

56 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 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 avatar image avatar image avatar image avatar image

Related Questions

How do I get a list of filenames in a Resources folder? 7 Answers

Resources.LoadAsync() loads only one resources in the background? 0 Answers

Level load times are off the chart unacceptable 1 Answer

Hiccups when loading images from resources folder 1 Answer

How do I read unicode text file on IOS from resources folder? 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