Code modification has no effect when play-in-editor

Hello !

i’ve created a new C++ project from a template. I added simple UE_LOG… command to the ::Tick method of the Actor and rebuild the solution in Visual studio. The I pressed the “Play” button in the Editor and the log was visible in the “Output Log” window.

After that, I did another modification, changed the message text of the UE_LOG… command and rebuild again in VS. However from that point on it had no effect at all in the editor. When I press the Play button, it is still the old text appearing in the output log window…

What am I doing wrong ?
Thanks a lot in advance,
G

build in “development” then build in " development editor" and then right click your project icon in the folder it’s located and select generate visual studio project files, that should do the trick.

Thank you for your help, I’ve tried but unfortunately it did not help at all. I recompiled Development, Development editor then re-generated the VS projects but when pushing the play button it still played some old executable. Manwhile the “Compile” button from the editor also disappeared…
G

Thank you for your help, I’ve tried but unfortunately it did not help at all. I recompiled Development, Development editor then re-generated the VS projects but when pushing the play button it still played some old executable. Manwhile the “Compile” button from the editor also disappeared…
G

It’s a bug, somethimes the hotreload gets messed up.
Close the editor, recompile in VS (this way it will clean all the old hotreload files) and open the Editor again.

Thanks a lot for the answers… yes…this is what I do (i.e. reopening the editor) but is quite annoying.
Gergely