C++ classes aren't showing in content browser

I created a c++ class in unreal however it said to re-compile the project. The classes aren’t showing in the content browser and I sent understand why. I’ve right clicked on the uproject and regenerated the files however nothing has changed it. The files still aren’t there.

There’s a few other questions like this however I’ve tried the solutions that they have but they haven’t worked.

Any ideas guys?

You have to add dependencies your class lack of and recompile it from Visual Studio or XCode.
Dependencies goes to SideScroller.Build.cs and YouProjectName.h

Does your code compile, and is it a plugin or a project?

Code compiles. Not a plugin and is a project

Do your classes show in class viewer (which is much more superior then content browser for C++ classes)? you can find it in Window->Devlopment Tools->Class Viewer. By default it shows only placable actors, in menu you need to disable that so it shows all classes and if i’m not mistake it is the same for content browser, only placable classes show up.

You need to remeber that engine only see code stuff that reflection system see, so only UObject classes will show in the engine, other classes (Without UCLASS(), which normally you should not have them or else you do some editor code stuff that requires it) won’t show up in the editor at all.

Make sure that your code build successfully in Visual Studio, if you don’t have any errors