• 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 FortisVenaliter · Oct 10, 2015 at 05:50 PM · optimizationframeratesettingsvsync

VSync won't disable

Okay, so I have a problem with VSync in my project that just randomly started and won't go away. I even tried rolling back changes I had made to identify it, but nothing will get rid of it. As you can see in the screenshots below, WaitForTargetFPS and Gfx.WaitForPresent are taking up 15+ ms each frame, even though I have vsync turned off in project settings, and I don't touch the Application.targetFrameRate variable anywhere. Also, the stats window shows my rendering thread is running at 0.5ms/frame, and without the limiting stuff, my cpu side would run at 0.5-1.0ms/frame. How do I get Unity to stop limiting me?

quality settings

profiler

I've read a number of other answers, but each of them suggested doing things my project is already doing, as I explained above.

uess3.jpg (166.0 kB)
uess1.jpg (60.3 kB)
Comment
Karios
s4relok
Nickymouse
Max-TheArgentine
Fragmental
YHS
jethrogillgren

People who like this

7 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 FortisVenaliter · Oct 16, 2015 at 01:14 AM 0
Share

No one else has had this problem?

avatar image Max-TheArgentine · Mar 20, 2016 at 04:31 PM 0
Share

Same problem, asked 2 times in 2 weeks. no replies yet. Upvote the quiestion! many are having the same problem it seems.

2 Replies

· Add your reply
  • Sort: 
avatar image

Answer by Bunny83 · Oct 16, 2015 at 02:11 AM

First of all make sure you turned the vsync off in the correct quality setting and that you're actually using that setting when testing.

Apart from that it's possible that your GPU has a force override set in the driver settings. NVidia for example allows you to set global overrides as well as application specific overrides.

Comment
meat5000

People who like this

1 Show 1 · 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 FortisVenaliter · Oct 16, 2015 at 09:41 PM 0
Share

I included a screenshot of my quality settings. Are they not correct?

And I checked the drivers. They're set to default to the application, not override.

avatar image

Answer by Cuttlas-U · Oct 16, 2020 at 02:08 AM

ok for me looks like changing the target frame rate force vsync to be enabled ;

i removed this lane of code :

"Application.targetFrameRate = 60;"

and every thing got back to normal ( a unity restart is required )

Comment

People who like this

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

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

32 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 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 avatar image avatar image

Related Questions

How to render severals cameras at differents Frame Rate ? 2 Answers

low FPS when battery is low ( unity android ) 0 Answers

Question about Multithreaded rendering! 1 Answer

rendering to buffer faster than screen refresh 1 Answer

Extremely poor Android performance, even in simple scenes 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