- Home /
60FPS constant, but serious visual stutter - only on iOS
Hey Guys, I'm feeling a little lost so I thought I'd reach out here. I'm in the final stages of my game and it's time to tackle an issue that's been persistent since I started development: physics stutter on iOS.
I know this topic has been talked about ad nauseam, but I can't find a solution that works for me.
The problem:
Despite a constant framerate of 60FPS (Xcode), every 1.5-2 seconds, my physics controlled elements stutter; pretty badly. This only exists on iOS, not Android.
Solutions I've tried:
I've switched to Chipmunk physics, only to encounter the same issues.
I've made sure that all of my update functions are as efficient as possible.
I've tried each of the vSync setting for the project, to no avail
I've stripped out everything that isn't crucial
Tested on ios 6 & 7, on iPhone 4s, iPhone 5, iPad retina & iPad mini
Has anyone found a solution for this problem? It's really frustrating. Thanks
Hey, sorry to bump this, I am experiencing the same issue. Did you find a fix?
Answer by deestort · May 13, 2015 at 07:42 PM
This or something related to this has been answered across a number of different forums and threads. There appears to be a bug in Unity (regression from 3.x?) Here's what worked for me on 4.6.5f1
vsync set to 0. If you are using 3rd party plugins make sure they are not setting it to anything other than that. Otherwise you can try setting vsync to 0 in your Update (to test whether it makes a difference)
set targetframerate to -1
if you're using iAd, try removing/hiding it and see whether that makes a difference. (That's what did it for me)
you can also try setting graphics to Open GL 3.0
Good luck, hope this helps someone.