Compilation Error When Generating C++

Hey there!

So I started a project using the Third Person Blueprint template. I’m now trying to generate a new C++ class by right clicking → New C++ Class within the Content Browser. However, when UE4 tries to create then compile this class, it throws an error saying: “Changes to generated code are not allowed”. However, I’m not trying to change anything. In fact, I can’t even open this file before that error is thrown. I’ve looked and looked for other forum posts about this and none of the solutions offered in those has fixed my problem here. I followed the steps in the UE4 docs about setting up the development environment in Visual Studio.

Any help would be greatly appreciated!