Quantcast
Channel: Questions in topic: "framerate drops"
Viewing all articles
Browse latest Browse all 141

Graphics.PresentAndSync causing large fps drops on mobile Android game

$
0
0
I understand that this question has been asked many times already, but none of the answers have caused any changes to my game. The problem is on a mobile simple 2D game I have created there will be random fps drops. They truly are random, there is no pattern to them. Sometimes the game will run perfectly smooth, other times it will be very choppy, and when there are fps drops there is nothing specific happening in the game that would cause it to happen then and not sometime else. The game uses a large 2D tile map but I have it split up into separate meshes so even when the size is increased or decreased on it the frame rate is not improved so it should not be that. I am also using multiple canvases for my menu system, I am not sure why they would cause a problem but might that be the issue? I have disabled every individual aspect of them game trying to isolate the bug but the frame rate never changes. The only hint to the problem I have is when I connect the device to the profiler it says that Graphics.PresentAndSync is causing the problem. I have tried a lot of different things trying to fix it but nothing has had any impact. I'm pretty lost on what to do, I've spent hours trying to figure out why the game jerks every now and then like this and it is becoming very frustrating, if anyone could provide any help or insight that would be fantastic. By the way another problem that's shown up is there is a white screen before the splash screen when the game opens, and the splash screen takes a while to load before the game come up, any idea why?

Viewing all articles
Browse latest Browse all 141

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>