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 /
  • Help Room /
avatar image
4
Question by ThiagoTejo · Dec 10, 2013 at 10:11 PM · editorbuildoptimizationslowlow fps

Extremely Low FPS in Editor, smooth in Build. how to fix?

Hello guys, i'm having an annoying problem here. i'm still early in development, and i've just made a simple controller with custom physics using raycasts to know the height of the character, distance from a wall, etc. I don't know exactly when, but my game started to get very slow in the Editor Test mode, i'm not Debugging anything. If i create a build and play it, the game plays smoothly, no hiccups or fps drops. So, everytime i want to test my game, i'm using Build & Run, but that takes some time... I've read that in the editor, the game does suffer a little from FPS drops, but in my case, its unplayable. Can someone help me? Thanks in advance!

Comment
Add comment · Show 4
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 rutter · Dec 10, 2013 at 10:12 PM 1
Share

Have you checked the console window? Excessive logging can slow things down quite a bit. Even if you're not directly calling Debug.Log(), you could have a plugin that is, or you could be running some code that throws exceptions constantly.

avatar image OP_toss · Dec 10, 2013 at 11:03 PM 1
Share

Common issues that can make this occur include excessive logging, extensive inspector or scene UI's, gizmos, or many viewports.

Additionally, I recommend using the Profiler to profile the editor. Yes, the profiler does indeed profile the unity application itself, and will tell you a bit more about what is causing the problem.

avatar image Kiloblargh · Dec 11, 2013 at 02:58 AM 0
Share

Whenever I have had this happen, it was because I had an object selected in the scene view with the Inspector open with a script on it that was changing a public list or array variable every frame in Update.

avatar image ThiagoTejo · Dec 12, 2013 at 02:28 PM 0
Share

Well, I started optimizing my game, and after a few tweaks, i've made the slow downs in the editor less apparent, and the game is now better optimized in general, thanks guys!

3 Replies

· Add your reply
  • Sort: 
avatar image
2

Answer by MagicStyle · Nov 02, 2017 at 11:39 AM

I had the same problem. I opend up the Profiler (Window -> Profiler) and selected "Profile Editor", then I noticed a very high load, especially "UpdateSceneIfNeeded" was using extremly much CPU (Total 99%). But as soon as I hit "Profile Editor" everything worked perfectly fine again, as if Unity noticed me opening the Profile Editor and then stopped doing crap. I think the little minions inside my computer just needed a break or were protesting.

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

Answer by Commander Quackers · Dec 12, 2013 at 03:10 PM

Weird, it's the opposite for me usually - laggy in build and smooth in editor. But what you can do in the editor is go to quality settings and reduce the quality level at the top to fit your needs.

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

Answer by IgorAherne · Nov 24, 2017 at 10:26 AM

Same, getting massive spikes, 3 frames per second in Editor, UpdateSceneIfNeeded Well, are you happy now? You've updated everything you needed!

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

23 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

Related Questions

Player model doesn't load on build, but works fine in editor 0 Answers

Simple game lags while in editor but runs fine when build 1 Answer

Troubleshooting sudden editor lag 0 Answers

Built Game different than the game in the editor - What to do? 0 Answers

My editor is very slow 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