Impossible to use non AActor class in Blueprint


I found a similar topic but nobody answered the question. So I found this tutorial and it works pretty well.

BUT, this tutorial doesn’t work if my class inherits from UEdGraphNode. If I change it for AActor, it works.

Finally, I cannot cast the resulting Object Reference because this Object is a UObject and anything else than AActor is not available in Blueprint.

I see these classes in my C++ Classes folder in the editor, but they are not in the dropdown list of Blueprint.

Is it normal ? a bug ? something I don’t do correctly ?

Everything can work with AActor as I wish, but I don’t want this bunch of code for something that doesn’t even appear in the scene.

Thank you!