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?