Unknown crash "Read from location 000002222F375C3C caused an access violation." on build.

Hello, this is a bug that has been a big issue in our project, any help will be greatly appreciated. After we build the game and run it, the game crashes 1 to 5 seconds into it. It sometimes works if I change the graphics quality to Ultra on my PC, but on other machines, it crashes on Ultra as well. We tried upgrading the project version, same thing. I attached 3 crash dumps.

The main error is “UnityPlayer.dll caused an Access Violation (0xc0000005) in module UnityPlayer.dll at 0033:58b0eca4.”.

4456681–408952–Crashes.zip (237 KB)

How did you solve this?

Are you using il2cpp? I experienced many random crashes with il2cpp and no one with mono. One crazy crash that I’ve got was when enabling a gameobject containing lights, I don’t know why but with il2cpp it always crash my project on Windows.

Check your stacktrace. The first job in your editor crash log’s stacktrace probably is the reason. Mine was like fbxmodelimporter. So one of the my models meta file corrupted. I sent bug report with whole project. The unity guy just found it with adding models separately. I’m using il2cpp. But your problem seems like lightmap or graphics driver problem.