Packaged Game crashes instantly with "Unreal Engine has stopped working"

When trying to launch a project or when trying to start a packaged project, it just crashes with the reason: “Unreal Engine has stopped working”. It also says that MSVCR120.dll is the crashing module. I have attached the event and dxdiag. The packaged project worked fine a few days ago, so I don’t know why it is crashing now.

crash.txt
dxdiag

EDIT 1: When I move the built .exe from Visual Studio to any other folder than the build one, it gives me the same error.

EDIT 2: I got Visual Studio to break on the error (the line with terminate();):

/////////////////////////////////////////////////////////////////////////////
//
// __CxxUnhandledExceptionFilter - if the exception is ours, call terminate();
//
// Returns:
//      If the exception was MSVC C++ EH, does not return.
//      If the previous filter was NULL, returns EXCEPTION_CONTINUE_SEARCH.
//      Otherwise returns value returned by previous filter.
//
LONG WINAPI __CxxUnhandledExceptionFilter(
        LPEXCEPTION_POINTERS pPtrs
        )
{
        if (PER_IS_MSVC_PURE_OR_NATIVE_EH((EHExceptionRecord*)(pPtrs->ExceptionRecord))) {
                terminate();            // Does not return
                return EXCEPTION_EXECUTE_HANDLER;
        }
        return EXCEPTION_CONTINUE_SEARCH;
}

Hello ,

From looking up the error code provided in the Windows Event Viewer log (0xc0000409) it seems that this is a registry error with windows. It would explain why this suddenly started happening with the same packaged product that was working previously.

From other user’s testimony, it seems that the most common fix is to do a system restore back to when the problem didn’t happen. The only other options I’ve seen was to download some program to repair the issue for you but I can’t verify that these programs are legitimate so I wouldn’t suggest that.

The system restore shouldn’t delete any of your files, but just to be safe, be sure to back up any important data to another drive or to an external hard drive / USB storage device before attempting it.

Unfortunately that did not work.

I found the error. It was an unhandled SQL exception. My bad :frowning: