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 /
avatar image
5
Question by jep7 · Sep 08, 2015 at 05:59 PM · renderingperformanceprofiler

How to solve performance issue with Camera.Renderer->Drawing ?

Hello Community,

I am working on a little casual game for mobile devices. Last weekend I was nearly ready to publish, but when I tested the app on an older android device, I realized, that the fps was most of the time around 15. I had tested older versions of my application, they were running fine with a normal fps rate. Unfortunately, I did not write a changelog or something like that, so I really don't know the reason for this performance issue. I tried to find the problem with the profiler (first time I use it), and on the problematic, older android device I found out, that the following process (shown in the overview of the profiler) needs about 50% of the CPU in nearly every frame:

The process is under Camera.Renderer -> Drawing -> Renderer.OpaqueGeometry -> RenderForwardOpaque.Renderer -> Clear

I would be really glad, if anyone could help me to find out, what this means, cause I have no idea at the moment :(,

jep7

Comment
Add comment · Show 5
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 jep7 · Sep 08, 2015 at 06:20 PM 0
Share

And maby, it is helpful to mention, that when I profile the game on my PC, the 'Clear' process mentioned above only takes about 0.2%, nearly 40% are spend on Gfx.WaitForPresent. Which means, that the CPU has to wait for the GPU finishing his part, doesn't it?

avatar image hexagonius · Sep 08, 2015 at 08:21 PM 0
Share

you're right about WaitForPresent. But you shouldn't give anything about the profiler when it comes to your computer's performance, it's just way more powerful and won't help any with it's stats. Talking about it, the game view has a stats button in the top right. posting a screenshot along with your game during play would be a start.

avatar image jep7 · Sep 09, 2015 at 02:13 PM 0
Share

Ok, here is a screenshot from the editor, but isn't it possible to say where I have to search for this 'Clear'-process mentioned above. When it takes gigantic 50% of my CPU, I have to optimize it, but where do I find that?

alt text

avatar image jep7 · Sep 09, 2015 at 06:06 PM 0
Share

On my modern android device there isn't any problem, but when profiling on an older device it looks like that: alt text

This is a representative frame, the Clear-Process always takes about 50%. What is this process? How can I improve it? (On my modern android device, the Clear-Process only took 0.2%, I really don't know, why it is taking so much on this older device (which is also not so old, it has android 4.4))

screenshot-9.png (502.1 kB)
avatar image Mirk_Andy · Nov 02, 2016 at 03:41 PM 0
Share

@jep7

I am now experiencing this same issue as you had, did you ever find out what was causing the Clear function to consume so much, or how to potentially optimise it?

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

6 People are following this question.

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

Related Questions

Performance issue: Camera.Renderer - Drawing - ... - Clear needs 50% CPU ??? 2 Answers

Terrible Lag When Starting a Scene Which Eventually Resolves Itself... Graphics Card Issue or Unity? 1 Answer

Performance spikes 1 Answer

How to get OpenGL frame capture under XCode in Unity4? 0 Answers

Is waitforseconds in a coroutine related to sephamore.WaitForSignal? 2 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