Hello.
I’ve been working happily in blueprint so far, however I need to add some code classes now.
I add a class with “Add code to project”, build and reopen the project (“Development Editor”, works fine, no errors), however the editor doesn’t seem to recognize the new class.
I also can’t seem to use compile in editor; clicking the button just doesn’t do anything at all.
Simply adding a class to your code doesn’t mean you can use it as a base for blueprint classes. You must add the Blueprintable ( UCLASS(Blueprintable) ) attribute to your class. Classes which are not marked as Blueprintable are pretty much inaccessible from the editor.
Hmmm i never placed that flag on my classes and i can freely access it not only in editor but also can make them as parents for blueprints. For me its sound more like editor does not load his dll.
Well, the attribute is inherited along with the base class, so if you made a pawn or controller or something it’s already blueprintable. This looks like the most logical explanation to me, aside from bugs in the editor.
Try to right click uproject and generate Visual Studio file, in worse case you could create new c++ project and copy files (but not overwrite uproject file)