Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 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
2
Question by flaviusxvii · Jun 03, 2011 at 03:52 PM · scenefreezepausestutter

Unity is stuttering.. every 1.5 seconds about.

Unity is taking a short pause every 1.5 seconds or so. This happens in the Scene view and when running.

Any clue why this could be happening? When it isn't having the hiccups the scene is rendering 1000+ frames per second. I have tried disabling various scripts but nothing seems to affect it.

It may be unrelated but I did just get two newer higher resolution monitors (I run in dualscreen). Could it be a video memory issue?

Comment
Add comment · Show 3
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 taters · Jun 03, 2011 at 04:28 PM 0
Share

dual screen shouldnt affect it. I have dual. I doubt the monitors would affect it either. I would say it's either graphic card drivers or windows update. (I remember seing a notice in the editor saying if a certain windows hotfix is not installed it causes issues). Other than that, disable any realtime antivirus system protection, or systematically kill tasks in the task manager to see if killing something frees it up.

avatar image BerggreenDK · Oct 22, 2011 at 06:56 PM 0
Share

I run Windows 7, 64-bit dual monitor on two different machines. After running our project a few times, Unity will begin to stutter suddently, no matter what PC nor what graphiccard.

avatar image BerggreenDK · Oct 22, 2011 at 06:56 PM 0
Share

$$anonymous$$ake that 3 different machines actually.

4 Replies

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

Answer by Meltdown · Jun 03, 2011 at 06:34 PM

Simple solution, but try restarting Unity. I've found after running it a few times in my scene which is quite involved at the moment, I have this stuttering of the frame rate and the audio.

The only way to fix it is to restart Unity.

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 BerggreenDK · Oct 22, 2011 at 06:54 PM 0
Share

jup, I think the current version (if not every version) of Unity Editor has the famous "memoryleak" problem with certain resources.

I load a lot from webservers through the WWW class and I also instantiate a lot dynamically. I suspect these functions to have some sort of bad program$$anonymous$$g behind them inside the Unity Editor.

avatar image
2

Answer by almo · Jun 03, 2011 at 05:19 PM

I recommend downloading and installing the latest video card drivers. I've seen this fix this exact problem with Quake 3.

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 flaviusxvii · Jun 03, 2011 at 07:57 PM 0
Share

Hmm.. I've been using the same drivers with Unity for months without any problems. I might try this.

avatar image almo · Jun 03, 2011 at 07:59 PM 0
Share

Worth a try. $$anonymous$$ight not help, but it shouldn't hurt. :)

avatar image flaviusxvii · Jun 03, 2011 at 10:06 PM 0
Share

Unless the newest drivers are messed up and set your computer on fire!

http://www.google.com/search?sourceid=chrome&ie=UTF-8&q=nvidia+drivers+overheat

avatar image Meltdown · Jun 14, 2011 at 06:16 PM 0
Share

Did installing new drivers help anyone?

avatar image
2

Answer by Bradley DM · Jun 03, 2011 at 10:45 PM

Just another note for people on this, Make sure you dont have any scripts printing/debug.... This can be another cause for lagging.

As in something that logs/prints on the update/ongui/fixedupdate

Comment
Add comment · Show 2 · 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 Tasarran · Jun 04, 2011 at 04:26 AM 1
Share

This is so true...

Debug.Log is sloooow.

avatar image BerggreenDK · Oct 22, 2011 at 08:02 PM 0
Share

yup, and the OnGUI event is easy to setup for debugging info that needs realtime viewing. Another approach is to use the building DEBUGGER ins$$anonymous$$d and exa$$anonymous$$e the values in memory.

avatar image
0

Answer by save · Jun 03, 2011 at 08:28 PM

I have the same thing in version 3.3, it starts to stutter more often if I switch quickly between scripting and Unity. The complexity of the project doesn't seem to matter either. 3.4 couldn't come sooner!

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 flaviusxvii · Jun 03, 2011 at 10:08 PM 0
Share

Assu$$anonymous$$g this is an issue they've identified and plan to resolve in version 3.4. Being a long-time computer user I don't automtaically assume newer releases of anything are better/stronger/faster. Time will tell.

avatar image Meltdown · Jun 14, 2011 at 06:16 PM 0
Share

How do you mean you switch between 'scripting' and 'unity'. Do you mean from your script editor to unity and back? I'm using Visual Studio Pro 2010.

avatar image save · Jun 16, 2011 at 06:20 AM 0
Share

@flaviusxvii Very true, the statement was meant to be general. :-)

@$$anonymous$$eltdown Yeah exactly, Unity usually gets the hickups after about 30 $$anonymous$$utes and it happens while switching between the script editor and Unity. I'm using Notepad++. As you've answered the only solution seem to be a restart.

avatar image flaviusxvii · Jun 16, 2011 at 05:17 PM 0
Share

Yep, restarting. I've made it a habit to save/restart fairly frequently anyway, since the windowsLockFile screws with Dropbox.

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

9 People are following this question.

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

Related Questions

A node in a childnode? 1 Answer

Unity is freezing on certain Scene!? 3 Answers

Why does Unity freeze for long periods when highlighting some objects in the hierarchy? 0 Answers

Create and Name a new scene through the script. 1 Answer

Unity editor problem... 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