Fatal error in gc - GetTreadContext failed

Hi all.

I have Windows 7 and installed Unity3D and it worked fine for month. Suddenly it start to crash with this message: Fatal error in gc - GetTreadContext failed.

After that it has crashed hundreds of time, it always crash from 10 seconds to 5 minus after start. I have reboot, re-installed and upgraded Unity but nothing seems to help. It do not make a different what project I am working on. Even empty projects with almost empty scenes crash.

I did Google it and someone say Kaspersky Antivirus could be the reason, maybe it’s the case since Kaspersky installed it self with some other software I was looking at. Can not say for sure but it could match in time when Unity start to crash. Anyhow, I uninstalled Kaspersky but Unity still crash.

Any advice?

The best option at the moment is to avoid the anti-virus software that aggravates the issue. This should be fixed in an upcoming Unity release.

You can also try the dll with the potential fix located on this post: http://forum.unity3d.com/threads/172759-Unity-4-0-1f2-and-avast-8-0-1482-quot-getThreadContextfailed-quot-error/page3?p=1190613&viewfull=1#post1190613

Thanks for the link, seems like the dll fixed the problem for me.