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 omerselman · Jun 25, 2017 at 07:11 PM · androidprofilerrenderperformance optimizationclear

Android built game unity Profiler.render drawing clear and GPUProfiler.endQueries cause spikes.

alt text @florianveltman Hello everyone. I just built and run a game on my android device (samsung Galaxy J7 prime) and noticed the spikes in unity profiler. The sceene has flat terrain with default material and 3 different vehicle models and a tps char and all materials are set to mobile defuse... Camera settings and profiler logs are shown in the pictures below. Any ideas what is causing the clear and endqueries. Thank you for your time.

alt texthttp://imgur.com/SgCNF4P http://imgur.com/cGIPnU6 http://imgur.com/NjmRINR http://imgur.com/54QxCNI http://imgur.com/Wqtlmt2

screen2.png (465.1 kB)
screen1.png (512.3 kB)
Comment
Add comment · Show 3
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 omerselman · Jun 29, 2017 at 01:57 PM 0
Share

damn good coffee.. Still Clear is causing problems. I changed the clear flags into solid, skybox , dept and dont clear but none of them worked. Have couple of cameras with same settings. Added fog and will try with it now.. Any ideas..

avatar image omerselman · Jun 30, 2017 at 12:54 PM 0
Share

What i have done so far; Deleted terrain and add new one, didnt help. removed directional realtime lighting and add baked lightmapping, didnt help. Occolusion culling, didnt help. Added fog, didnt help... What is weird is renderforwardopaque clear shows only one item in frame debugger and it doesnt show any details

avatar image omerselman · Jul 01, 2017 at 07:26 AM 0
Share

Day 5; still no answer from community. Removed gaia terrain and added regular one. Seems terrain is causing the problem. Have a flat terrain with one texture and eventho when camera looks at terrain fps rate drops down to 26-27 fps. If camera looks at models or sky fps is about 45-57 fps. Gonna switch terrain textures or try terrain composer. Have to add height but it will increase poly count. Gonna edit one script which i suspecT using cpu, it is using raycast to position target sprite on ui canvas if it collides something. It seems it is not suitable for mobile.. still waiting for reply..

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by omerselman · Jul 04, 2017 at 12:24 PM

day 9 : found a solution. Increased the terrain size and baked occulision culling again. Took a while to bake and terrain texture looks cheap but at least damn clear is gone. Now need to figure out how to fix texture. It is weird that 2000x2000x400 size terrain had way way worse FPS than 10000x10000x4000 The fps is between 33 and 57 now..

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

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

Related Questions

Unity 2019.3 LWRP strange Performance Issue on android 0 Answers

What is TA Load in the Android internal profiler? 0 Answers

GPU (render time) increase if screen size increase 1 Answer

FPS is too Low on Mediatek Android devices with Unity 2018 1 Answer

perfHUD & Unity 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