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:
After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...
Reading time: 1 mins 🕑
Likes: 14 ❤
-m
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?