Hello guys,
The last 4 days I wasted on trying to solve this issue I have. By now, I am scared if I can meet my deadline, so ANY help is deeply appreciated!
It began, that I suddenly couldnt import Assets from the Assetstore anymore that contain scripts. After finishing the compilation Unity crashes with the error:
or the same with MonoDevelop.exe as causing the access violation.
It only happens with a certain project.
After the crash I cannot open the project anymore (Access Violation in Kernel.dll or no error at all) until I manually delete the new script files. If I delete the library folder and let Unity recreate it, it just does it until it reaches the new files I suppose - anyhow - it crashes with the same error.
I wanted to know, what exactly causes the issue, so I inserted the asset files of one of the assets I really need one by one (thats how I discovered, that non-script files are no problem at all). Moreover, I was able to insert any script that produces an error (so it wont compile) and even many scripts that actually compile and do work! I tried to locate if there is one single script in this asset, that I can use to locate what exactly the error produces, but due to strong dependencies I could only locate it inside an editor folder, although not every script I import into the editor folder reproduces the crash…
Then I upgraded Unity from 5.5 to 5.6 → Same Problem
Then I freshly installed Unity 5.6 on another hard drive → Same Problem
Then I created a fresh project with the fresh Unity 5.6 and just dropped the files from the seemingly corrupted project’s asset folder into the fresh project’s assets folder → Same Problem
Every of this steps needed around 12 hours for asset integration into the project and building of the 70GB library.
I dont really know what to do anymore. Tomorrow I will try to find another capable PC to see if the problem is related to my Computer. I will also further try to investigate if I can find a single file that I can use to locate the exact problem. For the Moment every help or idea is deeply appreciated. I also submitted a bug report. Let me know if there are other forums I should also consider posting in.
Best regards.