After UE5 resources are copied, the parent class disappears, and the parent class cannot be reset [Redirect]

Phenomenon

Copy the c++ class and the blueprint class inherited from this c++ class from project A to project B.
After changing the class description file of the C++ class, the project is successfully started from vs.
However, the blueprint class copied together cannot find the parent class, and Unable to reset the parent class
However, the newly created actor lacks the ability to find the moved c++ class

Delete the temporary file and regenerate the binary file, compile the code, still can't solve the problem
insert image description here
insert image description here

reason

This is because the relationship in the copied blueprint file is still related to the previous project, and this part of the information needs to be changed
insert image description here

solution

  1. Redirect (whole project, large scope)
    insert image description here
    related links

  2. Modify files (single, small impact)
    insert image description here

Guess you like

Origin blog.csdn.net/tianxiaojie_blog/article/details/129405380