Exception thrown at 0x00007FFFE644AE89 (ntdll.dll) in UE4Editor.exe: 0xC0000005: Access violation reading location 0x000002397B141238

When upgrading my C++ project from 4.18 to 4.19 I get the following error:

Exception thrown at 0x00007FFFE644AE89 (ntdll.dll) in UE4Editor.exe: 0xC0000005: Access violation reading location 0x000002397B141238.

When I hit continue this message pops up:

The following modules are missing or built with a different engine version: UE4Editor-CryptoKeys.dll Would you like to rebuild them now.

I click Yes and the UE4 Starting Build dialog appears, then I get this error (the same as the first):

Exception thrown at 0x00007FFFE644AE89 (ntdll.dll) in UE4Editor.exe: 0xC0000005: Access violation reading location 0x000002397B241238.

This is followed by the Error [YourProjectName] could not be compiled. Try rebuilding from source manually.

Here are the things I have already tried:

Deleting the saved, intermediate, and binary folders and rebuilding.
Fixing all the warning about future items that will be deprecated.
Switching from using Engine.h to the new CoreMinimal.h that 4.19 appears to be using.
Using VS 2017 instead of VS 2015 Update 3

But none of the above have helped. I checked to see if anyone else is having 4.19 C++ compile issues and they don’t seem to be. I wonder if it is because I use more modules that most people do. Here is my module include list:

PublicDependencyModuleNames.AddRange(new string[] { “Core”, “CoreUObject”, “Engine”, “InputCore”, “Http”, “Json”, “JsonUtilities”, “MoviePlayer”, “GameplayAbilities”, “GameplayTags”, “GameplayTasks”, “Messaging”, “MessagingCommon” });

My guess is that some of those module probably are not used by many people. So I wonder maybe that is why I get errors when other people don’t?

Anyone have any ideas?

Thanks!

Seems I just had a bad version of 4.19. I ran the Verify engine function in the Unreal Launcher and now everything works great. No errors :slight_smile: