Have to rebuild each time I compile

Hello,

I create a new c++ basic code in UE 4.18. If I compile the code with the button “compile” on the toolbar and I close the editor window, I have to rebuild my project when I launch the project.

218010-capture.png

Am I the only one to have this issue ?

Hello Exec57,

This is likely because the project has not been compiled without the editor being open. When you compile with the editor open, a process known as a Hot Reload happens which is quite different from when you compile for Development Editor inside of Visual Studio while the editor is not open. Due to the different way the DLLs are handled in these two situations, you tend to get this message if you have never compiled without the editor open.

You should only receive it once however. If you get this message every time you open your project, please let me know and we can investigate.

Hello thank you for the answer.

I think I have a problem with my editor. If I click on the compile button (editor open), it said “compile complete”. Then if I close it and I relaunch it, I have to rebuild. In fact I have to rebuild when I launch the editor each time I was compiled just before.

However If I compile with visual studio (Development Editor) (Editor open) and I close my editor, I can launch it again without the rebuild window. So it’s not very a big deal because I almost nether click on the compile button in the editor. But maybe that problem can generate other issue in the future.

I don’t have this issue with UE 4.17

Do you know what is the problem ? Maybe UE 4.18 isn’t correctly installed on my computer.

I hope I was clear and sorry for my english.

I was able to reproduce this and it seems that it is caused by using the Compile button in the editor rather than building in Visual Studio. A bug report was entered for this but the developers of this section of the editor have mentioned that this is the intended functionality. Please compile directly in Visual Studio instead.

Report: UE-50753