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 EpsilonZX · Feb 10, 2011 at 06:33 PM · editorframerate

Limit FPS in the editor?

Hello,

I'm making a 2D fighter in Unity and it's almost impossible to test the special moves inputs (i.e. Down, Down-Right, Right, Punch) in the editor due to the FPS for the game being roughly 3000.

Is there a way in Unity 3 to cap the Frame Rate in the editor.

I've tried other methods such as Application.targetFrameRate, making my monitor's refresh rate 60MHz, and Sync To VBL, but those only work on the build not in the editor.

Is there a solution to my problem?

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

1 Reply

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

Answer by Eric5h5 · Feb 10, 2011 at 07:00 PM

Program your game so it's framerate-independent. It shouldn't matter what fps it's running at. This is important regardless of what speed you get in the editor, because different people have computers running at different speeds.

Comment
Add comment · Show 4 · 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 EpsilonZX · Feb 10, 2011 at 07:41 PM 0
Share

Thank you, I never thought of doing something like that, I'll try that.

avatar image Eric5h5 · Feb 10, 2011 at 07:53 PM 0
Share

$$anonymous$$ake sure to look up Time.deltaTime.

avatar image robinking · Feb 10, 2011 at 09:03 PM 1
Share

Oh and it's not 3000! The stats window reports FPS based merely on 1 divided by the render time - if you add a simple script to your scene to count frames and give you an accurate frame rate it'll be much lower. I usually get around 80-100 where the stats window says 1200...

avatar image EpsilonZX · Feb 11, 2011 at 12:30 AM 0
Share

Yeah I figured that was the case. Thank you both.

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

No one has followed this question yet.

Related Questions

Editor playback performance on Windows 1 Answer

What causes an increase in editor GUI garbage collection? 2 Answers

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

Application.targetFrameRate doesn't work in the Editor? 1 Answer

Suddenly low framerate issues 2 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