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.
Does anyone know what this could be caused by and is it fixed in the beta release of 2017 ?
thanks
Can confirm that this happens with $$anonymous$$onoDevelop on the same unity build on $$anonymous$$ac. 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 :) hope this will get fixed soon as I'm not one to downgrade once I have made the update unless I really have to
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 $$anonymous$$imum 2-3 per hour.
Same problem for me as well. $$anonymous$$eeps crashing about every 15 $$anonymous$$utes. However I don't get that message box. The window just disappears - $$anonymous$$ost times even the crash reporter does not appear afterward.
Are you using the .NET 4.6 preview? Downgrading to .NET 3.5 fixed the crashes for me.
Answer by FlightOfOne · Sep 08, 2017 at 06:24 PM
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.
nope... $$anonymous$$e is showing as (Stable) .Net 3.5 Equivalent
It also says that it is fixed in 2017.1.p1 but be WARNED that 2017.1 and 2017.1.p1 seems to totally break NavmeshAgents. If you do not use navmesh, then it might be ok for you.
Answer by stalwin · Feb 08, 2018 at 10:22 AM
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.
Your answer
Follow this Question
Related Questions
"signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x200000077" Crashes on Huawei devices 2 Answers
Package Manager Error 1 Answer
U3DXT In App Purchase works only a few times then starts crashing overtime 0 Answers
Unity 2018.4.6f1 Crashes after creating new project 0 Answers
Crash on startup 0 Answers