• 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
Question by philipp_95 · Sep 10, 2018 at 11:54 AM · renderingperformancegpuprofiling

Performance Issue with RenderForwardOpaque.Render -> Clear

Hi all,

when I profile my App (for Android) on a phone (Samsung A5), the "RenderForwardOpaque.Render -> Clear" takes about 80% of the resources. Further, those "Clear" occurs in the other scenes too and takes some time (5 - 10 ms), even if the scene is almost empty (one static Camera; Clear flags: solid Color; one UI-Button).

This is acutally my first Unity-Project and I'm not sure whether the performance is good enough. Build on an older mobile device I can hold 30 FPS stable (a higher framerate is for this app not necessary).

According to the profiler information below, do you think this is good enough? What are normal/good CPU/GPU times on a phone (average device)?

(The profiled scene itself has zwo Cameras and contains a lot of UI-Elements/Sprites; only Mobile-Shaders and UI-Default Shader were used)
alt text
alt text
SetPass Calls :51
Draw Calls: 55
Total Batches: 55
Tris: 1.0k
Verts: 1.9k


What about this "RenderForwardOpaque.Render -> Clear" issue. Does anyone alread had to deal with this or can give me a hint how to approach this problem? After playing more than 15 min, the phone gets a little bit warm too. Could this be the reason for heating up the phone more than other apps do?

I would appreciate any help. Thanks for your time.

mainscenegpu.jpg (130.2 kB)
mainscenecpu.jpg (132.7 kB)
Comment

People who like this

0 Show 0
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

2 Replies

  • Sort: 
avatar image

Answer by jmansa · Dec 25, 2018 at 04:00 PM

@philipp_95 Did you figure out this issue? I am having the same issue with an app only using UI?

Comment

People who like this

0 Show 3 · 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 philipp_95 · Dec 25, 2018 at 06:56 PM 0
Share

Hi, I tried hard to find the problem, but unfortunately I couldn't solve this. Anyway, I just continued optimizing my app and in the end everything worked just fine - so I guess this problem is some internal thing, but for me it wasn't affecting my game in any (noticeable) bad way.

But if there is anybody who has managed to get rid of this issue or has an idea how to solve it, I'd would still be grateful for every hint ;)

avatar image jmansa · Dec 25, 2018 at 07:02 PM 0
Share

@philipp_95 Thanks for the reply... I will keep digging into this and hopefully find a way out ;-) Merry Christmas

avatar image Marquetes2 jmansa · Apr 16, 2019 at 06:42 PM 0
Share

Did you figure out what was the problem? I having this issue now. Thanks

avatar image

Answer by cdr9042 · Feb 06, 2021 at 03:06 AM

When I created the project from Unity Hub, I choose the template Mobile. My project suffered performance issue, it makes the phone hot and drain battery. The quality setting was like this

CURRENT: link text

Then I compared it to my previous project which didn't have any issue. Its quality setting was like this. I changed my current project quality's setting to this.

SOLUTION: Quality: link text

Also, in the Graphics tab, the "Always included Shader" part, there are several unused Shaders that was added without me knowing. The tier setting also unchecked "Use default"

CURRENT: link text

So I deleted all the unwanted Shader and checked "Use Default" for all tier

SOLUTION: link text

[5]: /storage/temp/175487-solution-graphic.png

[6]: /storage/temp/175488-solution-quality.png


solution-graphic.png (151.8 kB)
solution-quality.png (138.4 kB)
Comment

People who like this

0 Show 0 · 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

Unity Answers is in Read-Only mode

Unity Answers content will be migrated to a new Community platform and we are aiming to launch a public beta on June 13. Please note, Unity Answers is now in read-only so we can prepare for the final data migration.

For more information and updates, please read our full announcement thread in the Unity Forum.

Follow this Question

Answers Answers and Comments

114 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

Related Questions

GPU warm up 1 Answer

Camera.render weird issue? 0 Answers

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

how to i off load rendering to my gpu? 0 Answers

Performance spikes 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