Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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
1
Question by konradkunze · Mar 27, 2017 at 03:50 PM · unityeditor

Unity Editor Freezing randomly

Hi,

since approx. a year, we are developing a VR game for Oculus and SteamVR. There is one thing, regularily screwing up the work day: the Unity Editor just randomly crashing.

What happens: When running the game from the Unity Editor, after a couple of seconds the Editor freezes. The game seems still be running in the background (as music is still playing) but Unity does not react to anything anymore. The only thing you can do is kill it with the Windows task manager.

When does it happen: Absolutely random! Approx. 1 time every two weeks. The problem is, once it is happening, it is always happening and you can't get the game working anymore in the editor. If you start the compiled game from outside of unity, everything works fine. When this happens we start testing our builds by compiling them and running them from outside of the editor. (But as you can imagine, that is not a god way for testing it.) After some time, the game can be run from inside the Editor again. Everything works fine then, until... at some random time it happens again...

This error is occuring since the beginning from our development in Unity 5.3, 5.4 and 5.5. It is also happening on all dev machines (but all are running windows 10).

As we can't force reproduce it, this is hard to debug.

My questions: Is there any way to debug the Unity editor itself when it freezes? Is there any issues already known of the Unity Editor freezing during playback?

Kind regards, Konrad

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

8 Replies

· Add your reply
  • Sort: 
avatar image
3

Answer by StefanWullems · Jun 19, 2017 at 12:23 PM

I had the same problem too and for me, it seemed to be connected to my internet connection. When the connection was lost, even for a few seconds, it would crash.

It can be something else though. I hope you figure it out soon!

Comment
Add comment · Show 3 · 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 KruegerT · May 04, 2018 at 01:49 PM 0
Share

Same here. Unity freezes completely (without being in Play-$$anonymous$$ode) and only recovers if I disable my internet connection. Version 5.6.4f1

avatar image Disastercake · Jul 01, 2018 at 02:34 PM 0
Share

After reading this I ran a cmd line "ping google.com -t" and then moved around my editor (in edit mode). When Unity froze for a few seconds I looked at the cmd and noticed that for one ping the time was very high (close to 200 ms). It seems like Unity or a third party package is sending or receiving some data (maybe checking for updates).

Regardless, it has to be a Unity bug with the internet pipeline. There's no reason any connection should freeze the editor like that. It should be running asynchronous.

avatar image marcoloide Disastercake · Oct 08, 2018 at 10:41 PM 0
Share

I had the same problem and was the internet connection, as soon i disconnect the editor works perfectly, any solution?

avatar image
1

Answer by Duke_Hast_Mich · Jul 10, 2017 at 05:13 AM

If you are using an NVIDIA graphics card on windows 10, reinstall the driver from Geforce experience with the 'clean install' box checked. I don't know if it will help with the EXACT problem you have but it solved a similar issue for me. Windows 10 has some, ... peculiarities, in regards to it's cooperativeness with drivers.

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 Kampelao · Dec 08, 2018 at 09:28 PM 0
Share

This solution worked for me. $$anonymous$$any thanks! I thought my new graphics card was working well and assumed the problem was in my code, so this really saved me. $$anonymous$$y game was crashing as a stand alone build and in the editor the picture would randomly freeze with gameplay sounds still running. Not a VR game though.

avatar image
0

Answer by Bodin · Apr 27, 2017 at 06:53 AM

I faced the same problem. still can't find any solution.

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 Jawchewa · Apr 28, 2017 at 02:30 AM

Yeah, I've had this problem as well, and haven't really figured out a solution for it.

But as far as debugging the editor itself, one thing that you can do is look at the editor log files. Sometimes this can have information about crashes and issues. Although, I'm not really sure if it will output the error when the editor freezes. It might still be worth looking into, though. https://docs.unity3d.com/Manual/LogFiles.html

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 konradkunze · Jun 19, 2017 at 09:13 AM

The Log says nothing interesting. It seems to be somehow connected to audio driver management of windows. The freeze seems to happen after the primary audio device was switched while working in the unity editor. (For ex. between speakers and headphones) Can reproduce this at home and at work.

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
  • 1
  • 2
  • ›

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

107 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 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 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 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 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

Recently updated Unity 5 and now my project Scripts with not communicate 0 Answers

How to load level after typing somthing? 1 Answer

what program can I use to draw so I can use it in unity 1 Answer

Unity UI Test Automation displays error, after compiling 0 Answers

WaitForSeconds Not working. 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