How to Add a Scene Component in C++?

Recreate the blueprint class of the c++ class, try to see if it works or not. Such thing happened to me for several times.