Game FPS suddenly slow on Android
I have been working on my game for about a month and not ran into any performance issues until now. It has always ran smoothly on PC, and it usually ran smoothly on android. Suddenly during one build of the project the frame rate dropped from being about 40-60 to what looks like about under 10fps on android. I can not remember what changed in this build, but it would not be much.
I am fairly new to Unity, so using the profiler is a little confusing. Can anybody make sense of it, and whether it points to anything that could be slowing my game down?
Thanks
Answer by Mazemace · Jun 28, 2018 at 02:41 PM
FIXED: I set the frames to 60fps with
Application.targetFrameRate = 60;
Perhaps the frame rate was defaulted to much lower after it detecting a lot of things in the scene.