- Home /
Strange FPS drop
Hello,
I was editing my UI yesterday, and before I went to bed, I noticed that the baseline framerate on my game had gone from ~130 to ~60.
I thought maybe I wrote an inefficient script somewhere, so I tried disabling my scene's gameobjects one at a time, but even with them all disabled it still runs at ~60fps.
Is there a way to check what is consuming X number of resources, similar to the windows task manager?
My game barely runs smooth now during gameplay.
Thanks!
Answer by jgodfrey · Feb 24, 2016 at 12:20 AM
This is probably best done via the Profiler. You can read about it here:
You're amazing. Thank you. Going to check into this right now.
As a note for others who may experience similar performance issues, what wound up being the problem in your case?
The majority of CPU was being taken up by VSync. I wanted to keep it on.
However the issue was actually the number of strings being logged to console.
I put a lot of debugging code in my code.
I had about 25+ zombies each printing a string to console every frame. This was dropping my FPS in huge amounts!
Your answer
Follow this Question
Related Questions
How Would I Create An (FPS RPG)? 1 Answer
Unity 3 Animation Positioning Problem 1 Answer
Multiple scenes or one scene? 3 Answers
Not getting shadows for dynamic objects 0 Answers
"Big" 3ds model gives performance issues 3 Answers