Why do my C++ classes disappear every time I close the editor?

Every time my I close my editor or it crashes and I re-open it the C++ class I am working on is gone from the content browser.
If I compile it reappears but unfortunately the Blueprint that is a child of this class loses its parent and becomes useless. Even after the C++ reappears in the content browser I can’t re-parent the BP to the class. In the class settings of the BP, under “Parent Class” the C++ class does not appear. For now it is just a nuisance because I haven’t done any work in the BP yet and I can just delete it and recreate it but if this keeps happening it will be pretty much impossible to keep working like this.

3 Likes