- Home /
iOS ONLY stutter every 3 seconds simple 2d game,iOS ONLY constant stutter / lag every 3 seconds in simple 2D game
Hi Ive seen loads of posts asking about this but there doesnt seem to be an answer. Ive spent months trying everything I can think of. Its not the game because ive tried with a blank project and my proper game runs 100% smooth on android, no issues whatsoever
Started a blank project moving a game object accross the screen and still have the issue.
So far ive tried:
Application.TargetFramerate = 60;
Vsync on, off, half (although android and apple force it on)
moving transform.position = in update with speed * Time.deltaTime;
transform.Translate with deltaTime in update
Lerp (properly and the way where it slows down at the beginning and end)
smooth damp
moving the objects with a static camera
moving the camera with static objects (although in the end result i need parallax backgrounds)
using physics with rigidbodies with interpolate, extrapolate and none
using physics where the velocity is set once and object moves at a constant velocity with no other code/collisions/triggers nothing
setting fixedUpdate time to 0.0666667 to update 60 times per second and running code in that
creating my own timer in update that runs every 0.1 seconds as an example
I literally have no idea what to do or whats causing it, as ive said a practically empty project is the same. It also runs at a solid 60 fps on android and ios devices and without vsync in the editor runs at an fps in the 100s
Ive used unity versions:
2017.1 latest 2018.1.0b13 5.6 (dec 2017)
and every other beta version of 2018
Im making this for my company and they are no waiting for a release with only iOS holding us back.
If anyone has any ideas i would greatly appreciate it.
also this is NOT my video but this guy has the exact issue im talking about:
https://www.youtube.com/watch?v=cnST1QzoDw4
thanks
Your answer
Follow this Question
Related Questions
iOS profiling help 0 Answers
Type of graphics 1 Answer
Move horizontally on touch 0 Answers
2D Sidescroller: Change camera position? 1 Answer
Simultaneous Touch Drag Controls 0 Answers