Changes in C++ are not recognized by the UE4

Need to do 2 compilations in a row (sometimes 3) to UE4 accept C++ changes. Is it UE4 bug or I do something wrong? I faced this thing while working with 4.20 version or something. Now Im on 4.25, but nothing changed. Just tired of this thing.

When you say “compile” do you mean the “Compile” button inside the editor, or actually closing the editor and compiling the visual studio solution again? The former is known for those issues, the later is the solution for it.

You actually only need to restart the editor every single time you make a change to a header file or to the constructor implementation, just enable live coding and stop using the compile button: https://ue4community.wiki/live-compi…jects-tp14jcgs

Hopefully this will get improved even more in the future, but at least for now it is what we have.

1 Like