Access violation - code c0000005

Any help at all would be amazing.

In editor I can load maps over and over with no problems but in the packaged game loading a map will sometimes crash. Most times it has no problem though.
I’ve been through and have checked for any ‘invalid’ actor references but it still occurs.

Unfortunately this is all I have to work with. Any keywords or help would be great, thanks.

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

UE4Game_Win64_Shipping!TBaseMulticastDelegate::Broadcast()

UE4Game_Win64_Shipping!TGraphTask::ExecuteTask()

UE4Game_Win64_Shipping!FNamedTaskThread::ProcessTasksNamedThread()

UE4Game_Win64_Shipping!FNamedTaskThread::ProcessTasksUntilQuit()

UE4Game_Win64_Shipping!FTaskGraphImplementation::WaitUntilTasksComplete()

UE4Game_Win64_Shipping!FPhysScene::WaitPhysScenes()

UE4Game_Win64_Shipping!UWorld::EnsureCollisionTreeIsBuilt()

UE4Game_Win64_Shipping!UWorld::FlushLevelStreaming()

UE4Game_Win64_Shipping!UEngine::LoadMap()

UE4Game_Win64_Shipping!UEngine::Browse()

UE4Game_Win64_Shipping!UEngine::TickWorldTravel()

UE4Game_Win64_Shipping!UGameEngine::Tick()

UE4Game_Win64_Shipping!FEngineLoop::Tick()

UE4Game_Win64_Shipping!GuardedMain()

UE4Game_Win64_Shipping!GuardedMainWrapper()

UE4Game_Win64_Shipping!WinMain()

UE4Game_Win64_Shipping!__scrt_common_main_seh()

kernel32

ntdll

Diatomic Muffin,

  • Is this happening when you open up your packaged project?
  • How are you packaging your project for Windows exactly?
  • If so, are you able to recreate this in a new project? And if so, can I know the reproduction steps so I can bug it in our system?
  • Have you tried in 4.12.5 or 4.13.1?

Thanks!

Hey

Sorry I should of updated this earlier. The problem was with a media file sometimes being invalid. After re-arranging the ‘set rate’, ‘stop’ and ‘play’ functions it fixed the issue.

Thanks for providing us your solution. Let us know if you run into any other complications.