• 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
Question by $$anonymous$$ · Oct 07, 2013 at 04:18 PM · performancestutterslowing-down

Game Stutter on movement

I'm going to thank Meat5000 in advance for answering this :)..

Why does a game stutter (slows down and returns to normal) in some area's of a game even though the framerate doesn't drop on a powerful desktop? We are talking I7 3770K's with 32GB of ram on a 64 bit OS, finally AMD 7970's for GFX.

Surely performance shouldn't be an issue with machines that can run the likes of Witcher2 Maxed out with no performance issues?

Yes VBL (Vsync is enable), if not screen tear happens. Yes I have played around with AA, although for them type of machines it shouldn't be an issue.

Comment
meat5000

People who like this

1 Show 0
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

1 Reply

  • Sort: 
avatar image
Best Answer

Answer by meat5000 · Oct 07, 2013 at 04:28 PM

Maximum Allowed Timestep, in Time Manager from Edit Menu Project Settings allows you to set a minimum allowed FrameRate below which FixedUpdate is cut short to allow the main thread to run. This results in the slowing of animation and mechanics and other spurious effects that occur from code in FixedUpdate, when you go below the threshold.

Altering Max allowed timestep will change the threshold. Playing with Fixed Time Step will determine how many times fixed loop is executed per second and may need to be altered so it's not executing too many times for each frame. Also, if you don't require so accurate physics, turning down the iteration solver count can help alleviate the problem.

http://docs.unity3d.com/Documentation/Components/class-TimeManager.html

Comment
$$anonymous$$
Jamora

People who like this

2 Show 6 · Share
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 $$anonymous$$ · Oct 07, 2013 at 04:29 PM 0
Share

Thanks meat, I'll check it out tonight and see if I can clean up the performance.

avatar image meat5000 · Oct 07, 2013 at 04:32 PM 0
Share

You are welcome :)

avatar image $$anonymous$$ · Oct 11, 2013 at 02:18 AM 0
Share

That's great, it also fixed an issue with the character controller system :)..

avatar image meat5000 · Oct 11, 2013 at 09:53 AM 0
Share

Sweet, Bonus! :D

Out of interest, or completeness, what was that issue?

avatar image $$anonymous$$ · Oct 11, 2013 at 12:31 PM 1
Share

If using Void Update () and character controller, when you set the speed to greater than a certain amount the character would become Jittery and the animations would jump, tweaking those settings above and moving to Void FixedUpdate (). Resolved all them issues, it runs smooth as silk.

Show more comments

Unity Answers is in Read-Only mode

Unity Answers content will be migrated to a new Community platform and we are aiming to launch a public beta by June 9. Please note, Unity Answers is now in read-only so we can prepare for the final data migration.

For more information and updates, please read our full announcement thread in the Unity Forum.

Follow this Question

Answers Answers and Comments

15 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

iPhone 4S performance issues 6 Answers

OnTriggerEnter Bad Performance - Bad Code? 1 Answer

Stuttering / performance issue with certain JS scripts 0 Answers

Web player stalls 1 Answer

What could cause a periodic "freeze" with no memory or cpu spike? 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