Unity 2017 crashing often

Mostly when i click the Preview game button . But sometimes when I click an item in the hierarchy too. It mostly happens when I’ve been amending and saving a script seconds before but sometimes it happens when i havent been.

I use Visual Studio 2017 as my IDE and AFAIK that is open when it crashes (although cant say 100%).

Here is screen shot, it gives same error code every time and it happens about once an hour at least. Often does lead to lost settings even when they have been saved.

unity crash

Does anyone know what this could be caused by and is it fixed in the beta release of 2017 ?

thanks

Same problem. Constant crashes ever since upgrading to Unity 2017. This upgrade has been a huge headache. I seriously don’t recommend upgrading if you’re working on anything serious.

List of issues so far:

  • Random crashes when modifying scripts in Visual Studio and hitting preview.
  • Almost always a crash if debugger is linked.
  • Random crashes with Unity just sitting there idle (something about trying to write to protected memory). No idea what it could be doing when it’s not in use.

I’m really hoping they fix this in the beta release. I’m ok with 1-2 crashes a day but this is minimum 2-3 per hour.

Can confirm that this happens with MonoDevelop on the same unity build on Mac. Same error code and same action before it crashes.

yes it’s very annoying. I have lost a number of settings etc on a few occasions and now I save my project every 30 seconds :slight_smile: hope this will get fixed soon as I’m not one to downgrade once I have made the update unless I really have to

Latest Edit: I can confirm that this issue is now fixed on 2017.1.1P2. Note the ‘P’, for patch. I have been on this for several days now and usually runs all day. Not a single crash so far!

Check out here:
https://unity3d.com/unity/qa/patch-releases

I am having the same issue, Guaranteed to crash every 2-4 hours for me… I am wearing out my Ctrl+S Keys lately. Even then I lose stuff, reverts to last properly closed scene. I read somewhere that this is fixed now in 2017.2 beta. I am hesitant to upgrade to beta since I am working on large project at the moment and worried that it would cause other issues, but maybe those of you who can upgrade 2017.2b want to give it a try.

5th crash in 8 hours… different projects, even some being very basic. I knew I shouldn’t have updated but the damn thing did it by itself and I didn’t feel like fighting it to revert back.

Not fixed on patch 4. Crashes all the time. Using .net experimental.

Open Unity and go to Help->Manage License… Then click “Check for updates.”
It should say “License has been updated” after a moment.

I was having a similar issue but now I’ve been running for about an hour with no crashes. I’ll let you know how things go.

Judging by the stack trace I have, I’m guessing Unity Editor was trying to contact Unity servers to perform a periodic verification of licensing or account information. So if you have a stack trace that looks like this, I suggest trying to clean out or refresh anything related to licensing or user accounts (even if you have the free version), and make sure that there isn’t a firewall preventing Unity from reaching the licensing servers.
,Open Unity and go to Help->Manage License… Then click “Check for updates.”
It should say “License has been updated” after a moment.

I was having a similar issue but now I’ve been running for about an hour with no crashes. I’ll let you know how things go.

Judging by the stack trace I have, I’m guessing Unity Editor was trying to contact Unity servers to perform a periodic verification of licensing or account information. So if you have a stack trace that looks like this, I suggest trying to clean out or refresh anything related to licensing or user accounts (even if you have the free version), and make sure that there isn’t a firewall preventing Unity from reaching the licensing servers.
You can also try some external apps like Torngat to prevent apps from crashing and revoking.