If you auto-generate a plugin it will automatically add unreal build tool. It’s probably needed in the packing phase of the project.
Have you tried cleaning out your project
Delete
- Intermediate
- DerivedDataCache
- Binaries
- Saved
- .vs
Right click your uproject file and “Generate Visual Studio project files”.
Run and recompile. (Ok I see you followed those steps)
If you made an empty plugin and started adding code from a tutorial or based on another plugin the maybe the lack of generated files is throwing off the compiler in some way?
You could try installing a newer version of .Net (hard to say if that will influence the compile, I use it in other projects)
Are you building from the source version of the engine or are you using the binary version from the epic launcher?
-
Make sure your project is set to the default startup project. (it’s name should be in bold letters)
-
Is your configuration set to “Development Editor”
Do you have any custom settings for code cleanup in VS? Maybe it’s stripping out commands during compile too aggressively?
