What's difference between editor's compile and visual studio's build?

Hi. I’m beginner to unreal engine.

It looks like when I build project with visual studio, UBT is ran, but it looks like editor’s compile menu run UBT, too.

When I do clean project with visual studio and use editor’s compile, error happens.

CompilerResultsLog:Error: Error LINK : fatal error LNK1181: 'C:\Users\juhong.jung\Documents\Unreal Projects\MyFirstTopDown\Plugins\{$MY_PLUGIN_NAME}\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-{$MY_PLUGIN_NAME}.lib' ?Է? ?????? ?? ?? ?????ϴ?.

So I ran build with visual studio and recompiled with editor, there wasn’t error message.

They samely run UBT but why error happened?

Why editor’s compile don’t generate *.lib file?

The “Compile” button in the editor will not use the same build folder as Visual, so be consistent and either always build from Visual/XCode or always from the Unreal Editor. That way you will not be recompiling untouched files.

So basically both using different directories, in order to avoid any possible conflicts.

Source:
https://wiki.unrealengine.com/Hot_Reload

-m

thank you!

welcome :wink: