Editor crashes every time I'm trying to play

Hi peeps,

I’ve got a problem, and hoping for a little help :slight_smile:

Branch: I guess it’s a ‘Binary’ build from the Unreal Launcher. It’s NOT from GitHub, at least.

Build version: 4.6.0-2369412 (however, the problem started in 4.5 - I changed to 4.6 hoping it would be fixed, without luck.)

Detailed description of the issue:
I’m working on a game, and had gotten a few things done. For example, I followed a tutorial created by the UE team, on how to create health and healthbar in UMG. I mixed this with the experience-bar-thing, and made it so the Player loses some life every move he makes. This life can be regained when entering LifeForce stations. This worked like a charm.

Next thing I wanted to do was create locked doors that could only be opened after picking up keycards. I got help on how to do this, but unfortunately, early in the process of this, the game just started crashing every time I tried playing - the engine crashes before even launching the game, no matter which play Mode I try. Well, if I play as Standalone Game, at least only the new window crashes and the engine keeps running - otherwise, the whole thing dies.

Now, I have created the “keycard opens door” in many other projects, and thus know the procedure works and doesn’t crash the engine + this specific game project didn’t crash before. So I tried removing all the blueprints and items added after the crash started happening, but it still crashes, as if the game itself has been infected with some kind of weird virus.

It was a pain to set up the lifeforce-draining functionality on the player character, so I really hope there’s a way to fix this crash without having to create the project from the bottom again.

As there are no specific blueprints I think is causing the crash left in the project anymore, I have no idea what causes it, so not including any screenshots right now. However, I’ll provide anything you need if you ask.

Crash report:

MachineId:2DF8C6354237A66B874645B9EA689CC5
EpicAccountId:259b586652d848d79f12bbe722a5d483

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

UE4Editor_Engine + 6500406 bytes
UE4Editor_Engine + 1629057 bytes
UE4Editor_Engine + 1636619 bytes
UE4Editor_Engine + 5073490 bytes
UE4Editor_Engine + 3800619 bytes
UE4Editor_Engine + 3783475 bytes
UE4Editor_Engine + 3683408 bytes
UE4Editor_Engine + 3792845 bytes
UE4Editor_Engine + 3803171 bytes
UE4Editor_Engine + 9515317 bytes
UE4Editor_Engine + 9260885 bytes
UE4Editor_Engine + 3802230 bytes
UE4Editor_Engine + 3703790 bytes
UE4Editor!FEngineLoop::Init() + 1147 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.6\engine\source\runtime\launch\private\launchengineloop.cpp:1919]
UE4Editor!GuardedMain() + 292 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.6\engine\source\runtime\launch\private\launch.cpp:126]
UE4Editor!GuardedMainWrapper() + 26 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.6\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
UE4Editor!WinMain() + 249 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.6\engine\source\runtime\launch\private\windows\launchwindows.cpp:202]
UE4Editor!__tmainCRTStartup() + 329 bytes [f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c:618]

Hello 3xist3nc3,

The first thing I would like to help with is the recovery of the assets that you need to continue working on your project. I have a couple of solutions that you could try.

Solutions:

  1. From what you have told me, it seems as though you can still open the project. If this is true you can right click the assets that you would like to use in another project (one that is not crashing) and choose the “Migrate” feature. This will move all relating content needed for this asset to the new project that is chosen.

  1. The editor creates backups automatically and with any luck you can go back to a point before the project was crashing and start from there. To find these backup files you can navigate to the saved folder which can be found in your project folder. The default directory is as follows: C:\Users\YourUserName\Documents\Unreal Projects\YourProjectName\Saved\Backup

Quick questions:

  1. Are you receiving any errors?
  2. Can you reproduce this issue in a clean project?
  3. Can you provide accurate steps to reproduce this issue?

Hello 3xist3nc3,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you.