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
1
Question by Mons657 · Jun 09, 2017 at 05:20 PM · editorplaymodefreezingannoying

Unity Editor Freezes Every Few Seconds

Hi,

I've been having this problem for the past few days. Unity seems to be on some sort of weird cycle where it runs fine for ~3 seconds, then totally freezes and becomes unresponsive for ~4, then back to working and it repeats. At first I thought it was just happening in play mode, but no, it happens just in editor too. I don't believe I have any code running in edit mode (certainly nothing remotely intensive), so I don't think it's something weird with a script. Other posts have said something about the new collab features causing similar issues, but I'm not using them, and even when working offline this still happens.

I've also tried opening a blank project or other old projects, but the same thing happens.

If anyone knows what is causing this or how to stop it that would be great, because it's really killed my productivity the last few days.

Thanks!

Edit: It's been a but over a week now, and after struggling with it and even reinstalling Unity to see if that would help (it didn't appear to) I decided to let it sit for a while. Sure enough, I opened Unity this morning to find it running fine. Not sure what changed, but as long as it keeps working like this it's all good. Thanks to the people who suggested things, and I'll post again if the problem returns.

Comment
Add comment · Show 1
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 Glurth · Jun 09, 2017 at 06:07 PM 0
Share

If you open up the task manager and observe the processes: is unity, or some other process spiking CPU usage, every few seconds? Other stuff to check/try: free disk space, run defrag, full system AV scan, confirm unity project and exe files excluded from AV scanning.

4 Replies

· Add your reply
  • Sort: 
avatar image
2

Answer by JerryAtricks · Jan 03, 2018 at 09:20 AM

It's the Visual Basic editor that's causing that.

Go to Edit > Preferences > External Tools and change the External Script Editor to something like Notepad++.

Once I did that I have no more freezes. That shit drove me nuts!,@Mons657

It's the Visual Basic editor that's causing that.

Go to Edit > Preferences > External Tools and change the External Script Editor to something like Notepad++.

Once I did that I have no more freezes. That shit drove me nuts!

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 tcz8 · Feb 12, 2020 at 07:28 PM 0
Share

Oh yeah? Visual Basic? ;)

avatar image
0

Answer by AllTheGoodNamesWereTaken · Jun 12, 2017 at 08:45 AM

[Ctrl]-[Shift]-[Esc] Is anything taking up more than 80% CPU or memory?

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 KingSloth · Jun 09, 2017 at 08:02 PM

Hello! this may be due to an old version of Unity, try upgrading to 5.6, it could be due to a computer that is on the older side. Or it could be something random. This happened to me once, it went away in a couple days.

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 Mons657 · Jun 11, 2017 at 09:18 PM 0
Share

I'm on 5.6.1f1 currently, but it's certainly possible that it's a computer issue. I'm still working mainly on a laptop from 2012.

avatar image
0

Answer by RMB1100 · Jul 14, 2021 at 08:59 PM

Possible solution: I had this same problem - on playing the scene in the editor, it would run for around 7 seconds, then freeze/lock for about 5 seconds, then repeat this cycle. The culprit for me was Sophos antivirus software. If disabled, Unity ran normally without freezing. I was so relieved to have found the problem I haven't investigated why this is happening, but my best guess is the record files (simple text files) I'm writing to are being scanned as they update and this is holding things up.

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

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

Unity editor freezes on play if visual studio is not attached 0 Answers

Weird editor lag on newest version after first play 1 Answer

Changes made during play mode, remain in editor after the game stops 1 Answer

Unity freezes temporarily when recompiling/refreshing scripts 2 Answers

Unity VR (XR) enable/disable VR on startup in Editor and as standalone. 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