Crash when hot-reloading code

Whenever I hit the “Compile” button in the editor after editing C++ code, I get the following crash when it tries to hot-reload the new code. Crash log attached.

Hi ,

Is this issue isolated to one project or does this occur whenever you try to hotreload with any C++ project?

It appears to be just this one project, but happens on both OSX and Windows for different people.

As this is isolated to that one project, could you possibly upload that project for me to use to reproduce the issue? Also, was this project converted from a previous version?

It was converted from 4.7 to 4.8p4, and now running in 4.8. The problem happened some time after we started using 4.8p4, not immediately after conversion. Is there some place I can send you a private link to the project?

Thank you for the information. Yes, you can send me a link via a private message on our forums:

https://forums.unrealengine.com/

My forum username is

I sent you a link on the forum.

Thanks for sending it, I’ll be looking into it and I’ll let you know as soon as I find anything.

Hitting the same stack trace. My project went straight from 4.7 to 4.8.

After hitting this a few times and debugging, the issue can be reproduced by the following setup:

  1. A C++ class with variable named X
  2. A blueprint with C++ class as parent with component named X

This was allowed previously but now causes a blueprint error. Repro is caused by changing the C++ variable name to Y and doing a hot compile.

Hi and hyperdr1ve,

The issue seems to already be reported but it was very useful to be able to confirm that this also happens on Mac. For your reference, the bug number for this particular crash is UE-16806. Hopefully the fix will be integrated quickly but at the moment I can’t provide any sort of workaround other than avoiding hot reloads.

Have a nice day

I don’t have any firm date, but the devs are aware of the issue and will get to it as soon as possible.

Thanks. Do you know when a release might be available that has this fix?

Is the issue solved?

Hi Mielke,

The issue has been fixed, but the change has not yet been integrated into a released binary version of the engine. I’ll will update here when a version that includes the fix has been released.

UE 4.14.3-3249277+++UE4+Release-4.14 and I’m getting consistent crashes every time I update a C++ code and compile from VS2015.

Hello celsodantas,

This could be related to your code itself rather than this bug, as this bug’s particular callstack has not been seen any time recently. Could you make a new post of your own along with the callstack you’re getting?