UE5 does not recognize previously created C++ classes

I have an issue with C++ classes, and any derived blueprints. Here are the steps I followed:

The created instance is no longer visible…

Attempting to open the Blueprint displays this error:
image

And the mentioned class is no longer being displayed in the Content Drawer anymore, but the files are still in the folder.

Recompiling with Live Coding makes the class appear once more, but the problem is repeated the next time UE5 is closed.

I did some more testing. I closed the UE5 Editor and compiled on VS.NET without using the live coding function. The blueprints worked as expected and the created classes could be seen in the editor.

However, upon use of live coding all data was lost again.

I’m having this exact same problem and disabling Live Coding is not working. Does anyone else managed to find another solution? It’s impossible to work with this error.

I was able to find a solution that works for me, although this process will need to be repeated each time you open your project in the Editor.

If you delete the Binaries folder in your project directory before trying to open the project in the Unreal Editor, you will be prompted to rebuild your project module which will compile all of your c++ classes along with doing some other processes. After that, the Editor will launch and the blueprints will be working.

I believe this works because the root of the problem is that the Unreal Editor is trying to compile the blueprint classes without first compiling the c++ classes that they inherit from. When you rebuild your project module, you are forcing the Editor to compile the c++ classes before it tries to compile the blueprint classes in your project.

If this doesn’t work for you, a longer forum discussing the same issue can be found here: