Hi,I have modified some source code of one plugin in Engine folder? However,How can I compile it? I delete the old dll in the Binaries folder, then double click one .uproject, it tells me to compile manully,but I compiled it in vs2015,it not works? I also try window->delvelop tool-> model to recompile, it tell complie error
Om,I get the engine downloaded from launcher and not the version downloaded from GitHub with source code !
I have the same problem. I changed some code in the plugin SteamVR but when i recompile the plugin it displays error. i tried deleting the dll but it does not compile at all. I hope we must not recompile the full engine code.
There is command in UAT (unreal’s replacement of make) to build plugin, you might deduce something from here
Alternaticly you can do it more hackish way, you can move plugin to game project (disable original plugin first) and compile it there, and then move back to engine forder
I don’t use lacuher version anymore for long time, but check if there is GenerateProjectFiles.bat or Setup.bat somewhere in main engine directories, they should generate project files for engine from it source files
Thanks for your reply!
I’m sorry so many days passed!
The link seem to not work now!
The sencond methed may be a good way!I just use a simple plugin to test,it runs right! However,if the plugin is depends on many others,it will be very frustrat.Om,I am a newer! If I do that,it always tell me cannot find many .h headers
I have not found GenerateProjectFiles.bat or setup.bat.
according to this tutorial (UE4 - recompiling plugins (Windows & Linux) - YouTube) the command should be something like this, compiling the final plugin into the [TempFolder]:
"C:\Program Files\Epic Games\UE_4.17\Engine\Build\BatchFiles\RunUAT.bat" BuildPlugin -plugin="C:\Program Files\Epic Games\UE_4.17\Engine\Plugins\[...]\YourPlugin.uplugin" -package="[TempFolder]"
I have this problem. You can create new C++ class file in plugin,then compile,it works.
before I close pulgin ,then compile project,plugin can be update, but now it cant work. I donnt know why,
I have this problem. You can create new C++ class file in plugin,then compile,it works.
before I close pulgin ,then compile project,plugin can be update, but now it cant work. I donnt know why,