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
0
Question by mugenl00p · Sep 12, 2011 at 10:38 AM · iosiphone

iPhone profiler evaluation

I've read documentations on how to improve game performance during iOS development. I took their advice to mind but still encounter the game I'm developing to lag; with a mix of the audio becoming choppy, to the animation doing repetitive animations. The issue occurs during later levels though when the difficulty gets harder. On the early levels, you can hardly notice the problems surfacing from the game.

Here's also a report from the iPhone profiler during the level where the lag is noticeable


iPhone Unity internal profiler stats:

cpu-player> min: 88.6 max: 138.1 avg: 105.8

cpu-ogles-drv> min: 0.8 max: 5.7 avg: 1.5

cpu-waits-gpu> min: 0.9 max: 10.4 avg: 2.2

msaa-resolve> min: 0.0 max: 0.0 avg: 0.0

frametime> min: 99.3 max: 148.0 avg: 117.3

draw-call #> min: 14 max: 18 avg: 15 | batched: 5

tris #> min: 2834 max: 3634 avg: 3207 | batched: 514

verts #> min: 1770 max: 2254 avg: 1995 | batched: 318

player-detail> physx: 80.4 animation: 0.0 culling 0.0 skinning: 0.0 batching: 0.1 render: 1.3 fixed-update-count: 5 .. 5

mono-scripts> update: 7.6 fixedUpdate: 5.5 coroutines: 7.7

mono-memory> used heap: 1691648 allocated heap: 11882496 max number of collections: 1 collection total duration: 42.0


could anyone help me evaluate these statistics and suggest fields that I could work in to polish the game?

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
0

Answer by tatoforever · Oct 18, 2011 at 08:15 AM

I guess you have a hell a lots of physical objects interacting in your game? PhysX is your problem, 80ms is a CPU killer which makes other CPU tasks slower and then finally the GPU is waiting for the CPU.

Comment
Add comment · 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

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

iPhone Resolution Screen Switch 0 Answers

Mini Mac - Can this Compile Unity? 2 Answers

Unity modules for iOS? 1 Answer

Game crashing on iOS after 3 second load of new scene. (How can I optimise loading) 0 Answers

BuildPipeline.BuildPlayer misnames .pbxuser file 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