C++ Classes break on reload

Hi everyone!

I’m having issues now that I’m trying to create C++ Classes to my previously Blueprint-only UE 5.6.1 project.

The issue is as follows:

  • I create a new C++ Class called “TestActor”

  • Close the project, build in Rider

  • Open the project

  • “Create a blueprint class based on TestActor”

  • Place the blueprint class in the level

  • Save and quit the engine

  • Reopen the engine

  • The blueprint actor is gone from the level and I get these errors:

  • If I try to open the blueprint class I previously created, I get this error:

  • The C++ class still appears in my “C++ Classes” folder in the engine

I can even skip the step of placing the blueprint actor in the level, just trying to open it after a reload brings up the “could not be loaded” error message.

Am I missing something?

i had this problem once when i turned a BP project into a C++ project. the solution was to make a new project starting from C++

option B is to change your “LoadingPhase”: “Default” to “PreDefault” but this felt hacky to me