Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 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 DroidifyDevs · May 07, 2016 at 08:49 PM · androidrenderingoptimizationcullingdrawing

How to further optimize this project?

Hi!

So I'm making a project for Android, I've tried every thing I know and still the game doesn't get over 20FPS on my Samsung Galaxy Tab 3 (which can run more demanding games decently).

Here's what I've tried:

Gone to Edit> Project Settings > Quality > Fastest for Android. However I do need full texture quality.

Set my only light (directional light) to BAKED. All the lighting is baked.

Set rendering path to Forward.

Optimized my scripts to use as few Update() as possible. However the game still is under 25FPS even with all scripts disabled. My scripts on average use less than 7% of the processing power (data from the profiler).

Refraining from using mesh colliders. The ONLY time I have mesh colliders is on some static objects in my map.

Camera.Render is taking 80% of my resources. 48% Drawing, 25% goes to Culling. Inside drawing, 37% goes to Render.OpaqueGeometry. In Culling, 15% goes to Terrain.Heightmap.RenderStep3

What can I do to further optimize the camera's drawing? I'm glad my scripts aren't the issue as that's (for me) the hardest part, but now I'm having massive issues with a relatively simple game.

Thank you so much for your advice!!

Comment
Add comment · Show 1
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 siddharth3322 · May 08, 2016 at 06:57 AM 1
Share

How much detailed models you used in game that also effect in performance!!! If you are using resources those are compatible for desktop then it definitely gives you poor performance in mobile.

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by abhinandand91 · May 09, 2016 at 05:12 AM

Two things you have to consider, for optimisation GPU and CPU , 1) Scripting point of view don't use foreach loops , try to avoid foreach loop and replace them with for loop. 2)Don't use OnDrawGizmos methods which calls every frame. 3)You object pooling if is there any where you are using instantiation and destruction.

4)GPU rendering point of view, try to use the same Materials in order to Save Draw calls , batching. For stationary objects use Static Batching, and for moving Dynamic batching.

And Project Quality setting plays an important roll . so use the setting considering the requirement of the scene.

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 UsmanAbbasi · May 08, 2016 at 06:01 AM

If Camera.Render is taking 80% which means major issue is with rendering. You should: - Reduce the "Far" parameter of Camera.

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

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

Related Questions

Draw Calls are still HIGH? 0 Answers

Was the audio file embed into the scene asset bundle file? 0 Answers

Render 2 cameras with same depth. Not split screen. 0 Answers

How to fix Black Reflection in AR with URP on Android? 0 Answers

Triangle culling glitch 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