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
0
Question by Feref2 · Dec 27, 2018 at 08:36 PM · performance optimizationframerate drops

Massive framerate drops because of rendering?

So It was running 60 fps, but without warning it started decreasing. It´s not constant: sometimes is around 30, 15 and it even fixes itself and starts runing at 60 again. I know that it´s not because of any script or something I made because I tried it in an empty scene, and also in other project, and it was still this low. So it must be something weird on either Unity or my computer.

*Windows 10 64 bits *Intel Core i5 7300 HQ @ 2.50 GHz *Intel HD Graphics 630 *Nvidia GeForceGTX 1050

I tried restarting my computer, but it didn´t work. I disabled the in-game overlay in the GeForce Experience software and nothing.

Edit: Apparently, the rendering is expensive... a lot. alt text

when the framerate was good, the rendering was low and instead the VSync was high. Also, the CPU and GPU usage were like at least the double in the task manager when the game was running at 60 fps. So why are these working less?

captura-de-pantalla-39.png (394.3 kB)
Comment
Add comment · Show 4
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 minecrafterlein · Dec 28, 2018 at 02:06 AM 0
Share

Given it is happening in different projects, this really does seem like an issue with your computer. Check the taskmanager and just in case run an antivirus scan.

avatar image Feref2 minecrafterlein · Dec 30, 2018 at 09:04 PM 0
Share

Thanks, and sorry fro replying 2 days later, but I had to wait until the framerate fixed itself to take notes of the differences between the low and good framerates. So here it is:

So the main problem seems to be in the CPU, since it was around 5 % with Unity before and improved to around 20 % (total use of CPU from 10 - 30 or even 50 %). So I don´t know why, but the CPU was working harder sometimes. The others, like memory usage and the HDD were more consistent, being around 60 % and 6% in general. The HDD went up to 93 one time, but it quickly came back to 6. The other main difference that I noticed was that GPU, which went from total use of 12% to 27%. Also the entire use of the GPU was from Unity. So there´s definitely something wrong with my GPU and the CPU. Do you have any thoughts on what could it be?

avatar image hexagonius · Dec 28, 2018 at 08:27 AM 1
Share

don't guess. check the profiler and make sure

avatar image Tobychappell hexagonius · Dec 30, 2018 at 09:36 PM 0
Share

agreed, also make a build and compare.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by betaFlux · Dec 31, 2018 at 01:41 AM

Does it happen only in play mode? If yes you can test if the problem is Unity, by opening up the profiler (Window -> Analysis -> Profiler) and clicking at the peaks.

Otherwise, what I do when encountering mysterious framerate drops is opening the task manager (Control+Shift+Escape) which is helpful most of the time, as it shows you the RAM and CPU usage of every process.

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

101 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

Related Questions

Why do newer versions of Unity have problems with framerate never exceeding refresh rate despite vsync settings being turned off? 0 Answers

Empty scene @ 60fps vs City Scene @140fps... ????? 0 Answers

What is the most efficient way of drawing many 2D sprites ? 0 Answers

[Performance] RenderForwardAlpha performance issue on Android with Unity 5.3.0f4 0 Answers

Looking for a way to avoid using Update() Function 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