Compiled C++ code isn't hot reloaded

Blindopoly
Thu, 17 Oct 2019 07:21:18 +0000
Debugging, Optimization, & Profiling

I recently updated to 4.23 and am running into a very annoying issue when using C++. Basically, (seemingly randomly) whenever I make a change to C++ code, press compile in UE4, and then press play, my code changes are not hot reloaded even though it compiles successfully. This probably happens about 25% of the time I compile. I can tell that it happens because if I place a breakpoint in C++ it will show as white if it wasn’t loaded.

Even worse, after about an hour or so of this, Unreal gives up completely on loading any new changes and none of my C++ breakpoints get hit, even though they appear to be loaded. The only way I can fix this is to restart the engine.

Is anyone else having these types of problems? I noticed these same problems back in 4.22 but they were very rare and didn’t bother me much. Any suggestions would be appreciated. I’m running VS2019, DebugGame Editor, Win64.

14 posts - 1 participant