C++ Classes disappear on Engine Restart

Having following the course and on the crpyt raider section, I am starting to notice the a problem.

Everytime i rebuild in VSCode and close the editor my classes like mover, trigger etc dissapear on the blueprint. I Always make sure to save the Blueprints and scenes etc.

Could someone advise me what I am doing wrong or the problem that I am having is?

I am Using Unreal 5.0

If you’re using Live Coding and creating new C++ classes, you’ll need to close the Unreal Editor for your project and then rebuild your project in VS Code. Same goes for changes to the header file.

Also added the relevant course tag so the assigned TA can come correct me if I happen to be incorrect.

Worked out my soloution a few days ago,Sometimes this above soloution works.

But my usual work around out is to close and build with UnrealEditor Development build instead of the regualr Unreal Development Build. this seems to fix that error.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms