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 WillModelForFood · Aug 11, 2011 at 04:46 AM · iphoneframerateslow

Low fps with only a few characters?

So I'm looking at the profiler and I'm under 50 drawcalls with total Tri's at around 30k. I have 4 characters total, each of them are 4k. 1 3rd person player. 3 enemies. Textures are all 256.

Now with only these 4 characters on screen, I'm only getting 20-25 fps on my samsung epic android, which is better performance than the iphone4.

Why is my FPS so low with only a 4 animated characters? Only when I have all 4 characters in view does my FPS drop. When I look away it goes back up to 50

The total tri's in my view should be half of what I stated, so that's even more crazy.

Here is the profiler info if anyone could give advice maybe I'm doing something wrong I'd really appreciate it!

Rendering: Draw Calls: 58 Tri's: 32k Used textures 26/10.8 MB

CPU usage: Highest memory consumption:
Camera render, 31.3% total MeshSkinning.Update: 16.0% The rest are below 7%

I disabled most of the scripts I thought could be affecting this, and it's still the same. What can I do?

I really don't want to have to target 2011+ hardware only :(

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
1

Answer by AaronG · Aug 11, 2011 at 10:17 AM

What do the characters consist of? Because I don't think you should be having that many draw calls for such a small amount of models.

Comment
Add comment · Show 3 · 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 Waz · Aug 11, 2011 at 12:01 PM 0
Share

In particular, does each character only have one material?

avatar image WillModelForFood · Aug 11, 2011 at 07:57 PM 0
Share

Yes only one material, I also tried replacing my characters with Penelope, so with about 7 penelope's on screen at once with animations, my FPS is still pretty low about 20-25.

It does increase by 10 fps when I disable my AI scripts on all of them, but I'm not sure if that slight increase is what's really the problem. Since penelope is very low poly and only 25 bones, with a total of 200-250 bones on screen at once I should be getting like 60 fps.

What's going on here? Could it be that my phone is not as good as the iphone4?

avatar image WillModelForFood · Aug 11, 2011 at 08:01 PM 0
Share

Could copy pasting each character with the AI script attached and just duplicating ins$$anonymous$$d of instantiating cause the problem?

avatar image
0

Answer by spk · Mar 08, 2013 at 02:21 PM

Are you using expansive pixel shaders on your characters? If they occupy a big portion of the screen, you might actually be fillrate bound. It's hard to say from your description.

You need to find where your real bottleneck is via profiling. Is it the CPU? Is it the GPU? If GPU, are you fillrate or geometry bound?

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Camera.Render progressively takes longer if I stop and start game in Unity Editor 0 Answers

Frame Rate issue on simple terrain build 0 Answers

Low frame rate with only one texture on iPad 4 Answers

Unity 2D demonnstration game goes slowly on Galaxy S3. 0 Answers

Help Please - Unity3D project very slow on XCode-IPhone... 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