Unity keeps crashing with "Fatal error in GC" in a popup as the title and "GetThreadContext failed" as the body. This has been rather sudden as has been working for months without problems. The last things done were updated Avast to version 8, but I already have Unity and my project added as exceptions in addition to that I've tried disabling Avast entirely. Does anyone have any idea what's going on? I can't work on my project but for a couple minutes before it happens.
Ok, there was a windows update available. Updated and it seams to be gone for now. Will report back if it shows up again.
This may be dependent on the size of the project (mine was quite big) , I had to completely give up compiling or building by project on my PC. Luckily I have a Mac, and the same project on the Mac compiles and builds fine. If you have access to a Mac, maybe you could give it a go.
My project is a little over 800mb, which doesn't seam like a lot for a game. I'm not switching OS for this; if it came to that then Unity can happily refund my $1,500 and i'll move to an engine that works. So hopefully this is just some silly bug or outside conflict.
Seams Avast was the culprit. Completely uninstalled it and gameplay ran for 5 minutes with no issues. Was crashing within 30sec-1min of gameplay before. So if anyone has Avast do NOT upgrade to Avast 8; stay with 7.
I was getting this also (posted in another thread) and I got an Avast update today for Google Chrome, installed the update and not getting the error now so fingers crossed it is fixed.
What's strange is I added Unity to the global exclusion list and everything yet it still happened. It even happened after disabling all the scanning shields. Only solution was to flat out uninstall. I've always liked Avast, but Avast 8 has become far too aggressive; sure I don't want a virus, but I don't want Avast rendering my system useless either by crashing processes. For now I'm using Microsoft Security Essentials, which is less aggressive and will still give some protection until Avast sorts their issues out. Would be nice if they let you download previous versions as Avast 7 had no issues.
Avast! It's all problems in Avast! @#$% - that's bad words. Couple hours ago my Avast have updated to 8. And and from that time I look for answer! @#$% What antivirus better to install?
Bleh I always used Avast and I don't want to stop to use it because of other program crashing? Someone knows why exactly Avast make Unity crash? I am having this problem here too.
Apperantly it is also reported on the avast forums in this thread. I am using avast 8 as well and unity still crashes every now and then.
@Forgon please read this topic http://forum.unity3d.com/threads/17...0-1482-quot-getThreadContextfailed-quot-error There is a temporary solution using the Unity 4.1 and a modified mono.dll made by one Unity Staff programmer
Anyone knows where to download v.7 of Avast? Edit: found it, if anyone interested: http://www.oldapps.com/avast_antivirus.php?old_avast=8431?download
I found a way on wich the problem does not persist anymore this works for me and I'm using Unity 3.5 Try disabling only Avast script execution, I think that is because unity works with script integration
This issue has been reported many times and unfortunately it's giving headaches to a lot of users. The issue is indeed Avast so for the time being the only options are to completely uninstall Avast or to follow the steps provided by Chris in this thread http://forum.unity3d.com/threads/17...-quot-getThreadContextfailed-quot-error/page3 and it will fix the crash. Also i've included this particular issue in this thread http://forum.unity3d.com/threads/183499-Known-issues-in-Unity