Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 poOope · Oct 24, 2012 at 07:49 PM · fpsslowstutterframe ratecamera.render

Help! My game stutters and I don't know why

Hello everyone!!

I have a problem that is driving my crazy. I have developed an Android game using Unity 3.5.6f4 that runs perfectly when I test it using Unity remote (here are the stats)

alt text

But when I try to play on my mobile phone it stutters and it is impossible to play it. Using the profiler tool I have realised that FPS shows a really low value and Camera.Renderer function needs a huge amount of time (like 150-200 ms!), but Draw calls are not so much (57-61), Tris around 20k and Verts around 28K...Does anyone have any idea of where could be the problem?

I have optimized all my scripts by using "#pragma strict", I have defined all variables to static, I am using the cache by making "FindObject" and "GetComponent" in Start() and Awake() functions... I have also used Occlusion Culling, Lightmapping, the Pixel Lights Count are set to zero...

Even if I disable all game objects but player and Terrain, it is still impossible to play the game (the player has around 1150 vertex and all game objects between 36 and 200 vertex). All the material shaders are set to mobile vertexLit except bushes and trees (there are no so much, around 20) and many of them have the same material and texture.

I am using Unity 3.5.6f4 and my mobile phone is HTC Wildfire S (I have tried on an iPhone and have same results). Here are profiler statics, if anyone can help me please answer me, I am quite desperate.

Thanks in advance guys!

Draw Calls : 57 Tris: 19.8K Verts: 27.7K

Batched Draw Calls: 133 Batched Tris: 31.0k Batched Verts: 21.8K

Used Textures: 0/0 B

RenderTextures: 0/0 B

RenderTexture Switches: 0

Screen: 64x64/48.0 KB

VRAM usage: 48.0 KB to 2.4 MB (of 94.0 MB)

VBO Total: 61 - 2.4 MB

VB Uploads: 0-0 B

IB Uploads: 0-0 B

Shadow Casters: 0 Visible Skinned Meshes: 7 Animations : 1

alt text

stats.png (78.4 kB)
stats2.png (240.3 kB)
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

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.

Follow this Question

Answers Answers and Comments

9 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Low Fps in a simple game 1 Answer

FPS issues 1 Answer

Is it possible to seperate render and input frame rate (iOS) 0 Answers

audio slows down my game (dramatically) 0 Answers

Real elapsed time since frame begin 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