- Home /
Unknown cause of framerate drop?
So my game's framerate occasionally drops from 60 fps to 15 fps and I have no idea why. I've used the profiler to check what's causing the massive drops and I've either tried disabling the components it says or fixing them with no results. I've also put the game on "fastest" in Quality Settings, but the framerate drops still occur. Does anybody know what might be causing this? Thanks :)
Edit :
So something strange I discovered, if my laptop sits on my desk, there's framerate drops, if I sit it on my lap, there's no frame rate drops. Could this have to do with the computer's cooling fans overheating on the desk or something? This doesn't happen in all my projects though, so I still think that they're may be something in the game making it sensitive to that.
So something strange I discovered, if my laptop sits on my desk, there's framerate drops, if I sit it on my lap, there's no frame rate drops. Could this have to do with the computer's cooling fans overheating on the desk or something? This doesn't happen in all my projects though, so I still think that they're may be something in the game making it sensitive to that.
Well, yeah, your GPU seems to be doing lots of work and you are killing it by blocking the vents :)
Start your Playmode in Fullscreen, or just turn your scene camera to the sky. Test again.
Answer by meat5000 · Jul 21, 2015 at 03:41 PM
You Scene View camera will stack draw calls etc as well as your Game View. If you are zoomed out and looking at your whole scene you are basically cramming every object in to the renderer.
Grab a FPS script from the wiki (OnGUI based) and throw it in there, make a build and you should see your game is just fine.
Ok, so when maximized on play, they still happen, but when I turn the camera away to the sky, there are no frame rate drops at all :) So how could I keep from overworking the GPU?
It still dropped in the build actually, according to the fps script, it went from 60 to about 25/30 in the build somehow. I just found at that the framerate drops have to do with whether I have the power cable plugged in or not as well. On my lap, it wasn't plugged in, on the desk it was, so when I unplug it on the desk there are no framerate drops. It power saves when it's not plugged in though, so that probably has something to do with it. Though I'd like to find out how to make the actual performance like it's on powersave mode, lol.
You are in a position of advantage. You get to see how your game performs on a rubbish machine :P
Go in to power options in control panel for windows and switch to performance mode.
But yes there still appears to be a small issue but these can be handled by observing the optimisation techniques in the $$anonymous$$anual.
Would you like me to test it on my machine?
lol, yeah, that is actually an advantage :) I already have it on performance mode actually, and when I set it to balanced there are no frame rate drops. Seems like it should be the other way around :P That would be great to see how it would run on another machine if you are okay with it, thank you. Just letting you know though, if you're wondering why there's see-through shadows/no shadows, the shadows don't work in the build for some reason, but I do have shadows in the game/unity (so I'll have to figure that out sometime also, lol).
Alright, thanks. I sent you a P$$anonymous$$ through the forums :)
Your answer

