Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
3
Question by anasiqbal · Aug 03, 2016 at 09:28 PM · iosjitterstutterhiccup

Inconsistent jitter in iOS

I am working on a very simple vertical scrolling game for Unity iOS. My game is experiencing inconsistent jittering. I have searched the web extensively looking for a solution without any luck. I am using Unity version 5.3.4 f1.

The Game Gameplay screenshot

  • A character is falling down. We are using unity's character controller to move the character in Update() (`Time.deltaTime` is being multiplied).

  • Camera is following the character in LateUpdate().

  • Since the character is moving down, the obstacles seem to be moving upward the screen.

  • There are no rigid bodies in the scene. And there are no major spikes in the profiler.

  • We have very simple geometry and very few draw calls/ set pass calls (avg. 7 set pass calls).

  • We have constant 60 fps.

  • Since we are running on iOS vSync is by default On and cannot be disabled.

The Problem

  • The background elements/ obstacles (Trees, rocks etc.) start jittering for no apparent reason. The behaviour is inconsistent, some times it jitters and sometimes it does not.

  • Even when it does not jitter we experience small stuttering when user gives input via touch.

What we have tried

  • We have tried all combinations of Update(), LateUpdate(), FixedUpdate(), Time.deltaTime Time.smoothDeltaTime, Lerp, reducing the scene to a few cubes and removing all colliders and triggers.

  • We have already studied the following threads: Link1, Link2, Link3 and countless other threads.

  • Initially our game was running at the default 30 fps. But after some research it seemed that our problem was due to the difference between "Frame Rate" and "Screen Refresh Rate". (to understand this issue see the following LINK). Since iOS devices have a refresh rate of 60Hz we have set our target frame rate to 60 and our game maintains a constant 60 fps.

  • After setting the target frame rate to 60 the jitter has improved but now it is inconsistent.

I am all out of ideas. Any help or pointer will be highly appreciated. Thanks in advance.

screen-shot-2016-08-03-at-100217-pm.png (19.3 kB)
Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image lemonmojo · Mar 14, 2017 at 05:30 PM 0
Share

Did you ever found a solution for this? I'm suffering from the same jitter effect in a pretty simple 2D game. Profiler looks fine and so does Xcode's built in CPU counter which never exceeds 70%. I'm pulling my hair out right now, trying to just get smooth motion on iOS.

avatar image anasiqbal lemonmojo · Mar 15, 2017 at 06:21 PM 0
Share

Setting the target frame rate to 60 helped a bit. Also try the following Link

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Stuttering every 2 seconds 2 Answers

60FPS constant, but serious visual stutter - only on iOS 1 Answer

The name 'Joystick' does not denote a valid type ('not found') 2 Answers

How do I fix Camera stuttering in first person? 1 Answer

Motion stuttering, gfx.WaitForPresent, high fps, external position 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges