[4.6] Plugin not compiling

Hello,

I’d like to make a plugin and followed the documentation to make a blank one as a starting point as instructed here: Plugins in Unreal Engine | Unreal Engine 5.1 Documentation

I created a blank C++ Unreal project as starting point.

However, the plugin’s source never show up in Visual Studio (I’m using the Community 2013 version).
When I start my project from VS or the launcher, it detects that the plugin need rebuilding and starts recompiling without success (I think the exit message is “Target is up to date.”). It then tells me that my project can’t be recompiled, that I should try to compile it manually and exits.

What am I doing wrong?

My plugin folder

Check the include in your plugin’s build.cs file

“Nol/NolBlankPlugin/Private”,

It probably should be NolBlankPlugin/Private (shouldn’t need project name)

I’m also not sure that just the header file will compile and without any other files, it probably won’t show up in VS, because there is nothing there.

I wrote this recently…

The major cause is the spelling of the plugin and such.
So you can take that .zip file in there and carefuly compare what files and such are needed.

Thanks for your answer.
I changed the build.cs file but it gives the same result.
I also tried using UObjectPlugin that does contain some functions (even if still only a header) and it is also the same.
I find it weird that the documentation would advise to use those as a base if they don’t work.

Thanks for your answer.
I read your post but I checked everything over and over and everything seems spelled correctly. I must miss something. After reading the same files so many times, my brain wouldn’t spot even an obvious mistake now :confused: