Garbage collecting causing crash on project compiling/playing and closing

Hello,

I’m designing a realistic RTS using blueprints and a little of cpp code.

The project is nearly complete but one of my game modes keeps getting corrupt. I spent the day redoing the game mode by hand (copying from an earlier version) and it started all to work again. However, when I closed and opened the engine, it started to crash again. I know its from the same asset because if I remove it, it will work with no problems.

This is the crash info that Unreal gives:

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+comp

I reviewed the asset and the UObjects that it uses but couldn’t find any reason for the crash.

Can anyone help me?

Hello,

We’ve recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

https://forums.unrealengine.com/unreal-engine/announcements-and-releases/1410408-unreal-engine-bug-submission-form

Thanks

Thank you for your answer. I just submitted the bug report as it was required.