Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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
0
Question by AlexanderKFF · Jul 03, 2012 at 05:28 PM · editorframerate

The Unity Editor is running at over 3,000 frames-per-second, preventing me from testing my game...how do I fix it?

Last night, the Unity editor suddenly started to run at 3,000 FPS. It was amusing at first, but it's become problematic because I can't test my game with everything moving at super-fast speed.

http://i.imgur.com/kcvXD.gif

If I export my game to a tablet or phone, the FPS is normal, but within the Unity editor, the game is moving at ridiculous speeds.

This has happened before. Whenever this happened in the past, I was able to get it back to normal speed by simply closing and re-opening Unity. However, that isn't working this time. I've even reset my PC, and I'm still getting super-speed in the Editor.

Can anyone tell me how to get Unity back to normal?

Comment
Add comment
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

3 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by Sarudan · Oct 01, 2014 at 07:04 AM

If anyone else has the same issue as the OP, I suggest you use Time.deltaTime to move your objects around. Your game shouldn't run more quickly at a higher frame rate, it should just be smoother if you've done everything right.

Comment
Add comment · 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 Kiwasi · Oct 01, 2014 at 07:42 AM 0
Share

Changed correct answer as this answer is the better way to solve the problem.

Its far better practice to make your game frame rate independent then to rely on hardware dependent solutions, such as VSync

avatar image
0

Answer by AlexanderKFF · Jul 03, 2012 at 05:40 PM

I have the solution.

I went to Edit > Project Settings > Quality and noticed that "VSync Count" was set to "Don't Sync".

I changed "VSync Count" to "Every VBlank". and now the game runs at the FPS that it was originally running at.

Comment
Add comment · 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 Xitech_ · Oct 01, 2014 at 07:37 AM 0
Share

I'd like to re$$anonymous$$d you that you are now relying on a devices peformance for your entire gameplay. If you'd play this game on Android the game would probably go extremely fast again(iOS limit ~30 FPS, android ~60)

An easy to for this is to add * Time.deltaTime; This will take the time since last frame * your speed amount. So the speed is always the same, no matter the FPS of your game.

See: http://docs.unity3d.com/ScriptReference/Time-deltaTime.html

avatar image
0

Answer by slayer29179 · Jul 03, 2012 at 05:34 PM

Maybe un-install and re-install? have you also messed around with Time.timeScale? I know that could do it if it was not properly used?

Comment
Add comment · 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.

Follow this Question

Answers Answers and Comments

6 People are following this question.

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

Related Questions

Unity editor low frame rates and flashing while pressing keys 1 Answer

Updated to 2021.3.3, why did my FPS drop significantly? (over 350fps) 0 Answers

Why is my build running so slow despite running fine in editor? 2 Answers

HDRP Reflection probes cause terrible framerate 2 Answers

Limit FPS in the editor? 1 Answer


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