Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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(
         if (PER_IS_MSVC_PURE_OR_NATIVE_EH((EHExceptionRecord*)(pPtrs->ExceptionRecord))) {
                 terminate();            // Does not return
                 return EXCEPTION_EXECUTE_HANDLER;

Product Version: UE 4.9
crash.txt (754 B)
dxdiag.txt (95.8 kB)
more ▼

asked Aug 17 '16 at 07:39 PM in Packaging & Deployment

avatar image

110 15 18 27

avatar image Matthew J Aug 18 '16 at 04:54 PM

Hello DJ_Lectr0,

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.

avatar image DJ_Lectr0 Aug 19 '16 at 04:33 PM

Unfortunately that did not work.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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

more ▼

answered Aug 19 '16 at 04:36 PM

avatar image

110 15 18 27

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question