Some help pointing me in the right direction to fix a [self caused] bug

Problem: The game crashes after a short time of recording a replay using the “demorec” console command.
Reproduction: Unknown. It doesn’t occur for me in the 4.8 first person template so it must be something I’ve changed.

I’ve only noticed or tested the problem recently so I’ve no idea what could be causing it. I’ve made code changes and a lot of blueprints / classes and such so I was wondering if anyone could pinpoint what might be causing it based on the error report, so I don’t have to blindly remove things until the error disappears:



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

""


UE4Editor_CoreUObject!FSerialNumberManager::GetAndAllocateSerialNumber() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\coreuobject\private\uobject\weakobjectptr.cpp:107]
UE4Editor_CoreUObject!FWeakObjectPtr::operator=() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\coreuobject\private\uobject\weakobjectptr.cpp:202]
UE4Editor_Engine!UNetDriver::FindOrCreateRepChangedPropertyTracker() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\engine\private
etworkdriver.cpp:2810]
UE4Editor_Engine!UDemoNetDriver::TickDemoRecord() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\engine\private\demonetdriver.cpp:937]
UE4Editor_Engine!UDemoNetDriver::TickDispatch() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\engine\private\demonetdriver.cpp:458]
UE4Editor_Engine!TBaseUObjectMethodDelegateInstance<0,UNetDriver,void __cdecl(float)>::ExecuteIfSafe() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\core\public\delegates\delegateinstancesimpl_variadics.inl:772]
UE4Editor_Engine!TBaseMulticastDelegate<void,float>::Broadcast() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\core\public\delegates\delegatesignatureimpl_variadics.inl:1031]
UE4Editor_Engine!UWorld::Tick() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\engine\private\leveltick.cpp:1094]
UE4Editor_Engine!UGameEngine::Tick() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\engine\private\gameengine.cpp:897]
UE4Editor!FEngineLoop::Tick() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\launch\private\launchengineloop.cpp:2355]
UE4Editor!GuardedMain() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\launch\private\launch.cpp:142]
UE4Editor!GuardedMainWrapper() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
UE4Editor!WinMain() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\launch\private\windows\launchwindows.cpp:200]