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
3
Question by Toxic Blob · Aug 26, 2011 at 02:17 AM · iossceneoptimizationloadloadlevelasync

Optimising iOS Level Load Times

I need some advice on how to improve my iPad game’s level load times. The main level for my game is currently taking roughly 10 seconds to load.

  1. I procedurally create most poly objects, and an average frame will have from 250 to 1000 vertices

  2. I’ve shrunk every texture to fit within 64x64 (they now consume less than 3mb). After shrinking all the textures the load times actually increased by one second

  3. My sound load types are “Compressed in Memory”

  4. I’ve compressed all my sounds to 32 kbps (they now consume roughly 500kb)

  5. I’ve tried using Application.LoadLevelAsync to hide the load times, but the game freezes while loading… for ten seconds

Below is the Editor Log from building my current test scene. Any thoughts or suggestions?

 Mono dependencies included in the build
 Boo.Lang.dll
 Mono.Security.dll
 System.Core.dll
 System.dll
 UnityScript.Lang.dll
 mscorlib.dll
 Assembly-CSharp-firstpass.dll
 Assembly-CSharp.dll
 Assembly-UnityScript.dll    
 
 Unloading 3537 unused Assets to reduce memory usage. Loaded Objects now: 1943.
 System memory in use: 295.5 MB.
 Unloading 37 Unused Serialized files
   (Serialized files now loaded: 2 / Dirty serialized files: 2)
 
 Textures      2.8 mb     32.3% 
 Meshes        8.6 kb     0.1% 
 Animations    418.1 kb     4.8% 
 Sounds        550.6 kb     6.3% 
 Shaders       1.9 kb     0.0% 
 Other Assets  160.5 kb     1.8% 
 Levels        158.8 kb     1.8% 
 Scripts       420.4 kb     4.8% 
 Included DLLs 4.1 mb     47.3% 
 File headers  68.5 kb     0.8% 
 Complete size 8.6 mb     100.0% 
Comment
Add comment · Show 1
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 superpig ♦♦ · Aug 26, 2011 at 10:40 AM 0
Share

How many GameObjects are you loading, and much work are you doing in Awake() functions?

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by arthamas · Jun 20, 2012 at 05:23 PM

Check also if you have a lot of textures that you are loading. I suspect that it is related to the objects you are procedurally creating at runtime.

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 soulburner · Nov 19, 2012 at 01:21 AM 0
Share

Agreed. Instantiating game objects can take a lot of time

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

No collision detection after reloading the scene 2 Answers

Can a iOS game camera have the Bloom optimized effect with clear flags = depth only? 0 Answers

LoadScene() and variables 3 Answers

How do I load my txt file in iOS 1 Answer

Load Custom Scene 2 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