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 /
  • Help Room /
avatar image
0
Question by manishdv8 · Aug 04, 2016 at 12:59 PM · performanceperformance optimizationmobileoptimizationbuilds

Low performance on Mobile build of 2D Platformer game.

Hello People. I'm having serious problem with mobile build performance. when i run the build in my mobile the frame rate is too low. And when i run the PC Build on laptop it uses 14-16% of CPU. My game is minimalistic when it comes to sprites. Actually i wanna also ask is there any way in which i can run the Objects that are only on camera view instead of running all objects in the scene. I tried Occlusion culling "I baked the objects and run it works fine as long as i'm in occlusion tab but when i switched back to inspector tab the frame rate dropped again. I have tried my project on unity 5.3.3 and 5.3.5 Personal Edition. Please help we have almost finished our project but it is running very slow and taking much CPU usage.

I have attached the screen shot with profiler - VSync on and off.[Image1 Vsync on, Image 2 - VSync off]

screenshot-33.png (301.7 kB)
screenshot-34.png (288.2 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

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by itsharshdeep · Aug 04, 2016 at 03:29 PM

HI, I an not very great with the profiler and such things.. but did you tried to check some of the following listed items:

  • How much code is in Update Methods.. Are they too much & Unnecessary ..??? Can that code can be modified to non-update methods

  • Are you using the sprite packing.. If not then do that also ?

  • Your Graphics assets are too high resolution for normal mobile devices ??? Like more that 1024 ( except BG) if yes then do compress. NOTE : NOT TO COMPRESS THE GRAPHICS IN UNITY. YOU NEED TO REDUCE THE SIZE OF THE GRAPHICS OUT SIDE THE UNITY

  • What type of Colliders you are using ? Can you use normal box & circle colliders in most of the places where you have used Polygon collider

  • Are you using pooling in your game or not for the obstacles and placements. If not then do that instead of the re-spawn and destroy.

  • Can you spawn most of the thins spawn when needed? Like Screens and extra gameObjects. No need to place disabled the objects in hierarchy, do spawn them from Resources when needed

  • Are you setting up the target frame in any script. Do you really need that??? what is the effect on the game with/without that line?

  • Your Physics and Rendering line is at top most ... Can you please cross check by disabled some of your graphics stuff.. do this process until you find out what things are taking high peeks.

  • Do set the setting of the Graphics wisely like where you need TrueColor, Compressed, MinMaps etc etc

Hope any of the point work and your game will get high FPS. These are all currently in my mind. I think in case if any of this didn't work the you need any other alternate or code review.

Thanks

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

83 People are following this question.

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

Related Questions

Mobile Performance Issues 0 Answers

any physical/practical limit to number of lights in view? 0 Answers

Is UI system much worse in terms of performance than using 2D sprite? 0 Answers

Why is my Custom Inspector Causing Performance Issues? 0 Answers

Different pc performance problem 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