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 ncoder · Sep 21, 2011 at 11:56 AM · iosperformance

Mystery performance loss on ios

I swear my app was running at 60fps. I made a few shader tweaks, undid those changes... them BAMB! slows to a crawl.

I look at the internal profiler numbers... and from what I understand, it should go at 60fps. No time lost in scripts or physics, the usual culprits.

iPhone Unity internal profiler stats:

cpu-player> min: 18.4 max: 26.5 avg: 21.0

cpu-ogles-drv> min: 0.5 max: 1.6 avg: 0.7

cpu-waits-gpu> min: 0.2 max: 0.5 avg: 0.3

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

cpu-present> min: 0.3 max: 2.4 avg: 0.6

frametime> min: 22.2 max: 30.6 avg: 24.3

draw-call #> min: 7 max: 7 avg: 7 | batched: 69

tris #> min: 1216 max: 1216 avg: 1216 | batched: 2014

verts #> min: 1704 max: 1704 avg: 1704 | batched: 1356

player-detail> physx: 0.2 animation: 0.0 culling 0.0 skinning: 0.1 batching: 0.3 render: 3.0 fixed-update-count: 1 .. 2

mono-scripts> update: 0.3 fixedUpdate: 0.0 coroutines: 0.0

mono-memory> used heap: 720896 allocated heap: 860160 max number of collections: 0 collection total duration: 0.0

The inteteresting thing is that his happened to me once before. I had simplified the scene down to a bare minium, trying to see what was causing it to go slow, and I was down to a simple cube and it was still slow. The only way I had managed to bring it back up was to start a new scene from scratch.

Can anyone provide a hint to where I should look at next?

Thanks!

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

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by ncoder · Sep 22, 2011 at 03:45 AM

I'm going to answer my own question.

Further testing does confirm that this is a unity bug (or an xcode bug, who knows)

Instead of doing an incremental export (whatever happens when you chose "build and run" without modifiying the settings), if you pick a different location for the project and create a new xcode project during the export, this problem goes away.

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

Answer by ncoder · Sep 22, 2011 at 03:45 AM

I'm going to answer my own question, for the benefit of others.

Further testing does confirm that this is a unity bug (or an xcode bug, who knows)

Instead of doing an incremental export (whatever happens when you chose "build and run" without modifiying the settings), if you pick a different location for the project and create a new xcode project during the export, this problem goes away.

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

2 People are following this question.

avatar image avatar image

Related Questions

Bad iOS Performance after good android build. 2 Answers

GL ES1 vs ES2 (for iOS) 1 Answer

Empty game objects - too much? 3 Answers

Why did my render time increase after lowering the vertex count? 2 Answers

iOS Performance with multiple meshes 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