very strange bug
Create a new c++ class in ue5, then drag it into the scene, close the UE editor after compiling, and when you open it again, you will find that the newly created c++ class disappears, and the corresponding actor in the scene also disappears.
The current solution is: before opening ue, first open the ue project with vs, switch the version to DevelopMent Editor and compile it again, and then open the UE editor