Often this error appears after creating or modifying C++ codes. I couldn’t solve. I created a lot of projects to test C++ codes and eventually it occurs again. I seriously think about stopping c++ programming. What’s happening? How do I solve it?
You might be compiling the code while the editor is still running, your log in the second screenshot appears to indicate another program is accessing the files you are trying to write to.
You have options!
- Use Unreal Editor’s ‘Compile’ button to hot reload your code while it is still running.
- Close Unreal Editor and compile the code from Visual Studio once there are no more programs accessing it.
Hopefully in the future we can get some better error messages from the engine team, but hope this helps for now!
-Spiris
Thank you, closed editor works.
I get the same error when there are no instances of the editor open,
do you have any other suggestions?
- Right click on your solution in visual studio → clean
- Right click on your solution in visual studio → regenerate
If it still doesn’t work, try to delete binaries and intermediate folders of your project and recompile it.
No Good, I get this error each time
2>EXEC : error : UnrealHeaderTool failed for target ‘OPT20_V3Editor’ (platform: Win64, module info: C:\Users\Meme\Documents\Unreal Projects\OPT20_V3 - Copy _withdeletefolders\Intermediate\Build\Win64\OPT20_V3Editor\Development\OPT20_V3Editor.uhtmanifest, exit code: OtherCompilationError (5)).
Have you the logs of the actual error ? This is just the result of the failed build.
Here is the log,
When I cleaned and build, i got no errors from VS_2017.
but when i try to open the project, the module are still not recognized. And where the plugin modules need to be placed is still confusing, with exception to the .uproject, uplugin, Build.cs, …all the info is there
Plugins can be placed in “YourGame/Plugins” they will be build when you build your game, Or in “Engine/Plugins” or “Engine/Plugins/Runtime”. I personnaly build them in “MyGame/Plugins” then copy them to “Engine/Plugins”. This way they aren’t compiled and linked each time I build my game.
For your problem, make sure that all the Plugins you use are marked as enabled in your .uproject. (Edit it with notepad)