Access violation - c0000005 - (first/second chance not available)

Hi,

I’m having systematic crashes on unreal engine on my project time and time again.
I restore some assets on my project - it works again and then I close the project and open again it starts crashing again.
I’ve also tried deleting the config, intermediate and config to reset the dll but it didn’t help.

The crash returns this:

Access violation - code c0000005 (first/second chance not available)

UE4Editor_CoreUObject!TFastReferenceCollector<1,FGCReferenceProcessor<1>,FGCCollector<1>,FGCArrayPool,0>::ProcessObjectArray() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\coreuobject\public\uobject\fastreferencecollector.h:567]
UE4Editor_CoreUObject!TFastReferenceCollector<1,FGCReferenceProcessor<1>,FGCCollector<1>,FGCArrayPool,0>::FCollectorTaskQueue::DoTask() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\coreuobject\public\uobject\fastreferencecollector.h:167]
UE4Editor_CoreUObject!TGraphTask<TFastReferenceCollector<1,FGCReferenceProcessor<1>,FGCCollector<1>,FGCArrayPool,0>::FCollectorTaskProcessorTask>::ExecuteTask() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\core\public\async\taskgraphinterfaces.h:883]
UE4Editor_Core!FTaskThreadAnyThread::ProcessTasks() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\core\private\async\taskgraph.cpp:1277]
UE4Editor_Core!FTaskThreadAnyThread::ProcessTasksUntilQuit() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\core\private\async\taskgraph.cpp:1171]
UE4Editor_Core!FTaskThreadBase::Run() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\core\private\async\taskgraph.cpp:643]
UE4Editor_Core!FRunnableThreadWin::Run() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:76]

Can anyone help me?

mark it as solved then please, because it will keep wasting people’s time.

I ended up with moving the assets to a new project and it stopped giving errors…

I had some compile issues in cpp and solved them all. However when I rebuilt the dll and started the engine, it was still crashing

What are you trying to reference in you Thread ?

You shall check it for NULL pointer - you crash tells that when Editor is starting it is trying to dereference a NULL pointer (or something like that).