Using 4.8.3. We’re currently cleaning up a prototype project for the next prototype step. That means we can remove a lot of existing Blueprints but still want to keep some existing ones.
One of our removed custom components keeps popping up in a “Failed import for ObjectProperty” error when opening the editor. It appears to have no effect on the game itself, but it’s certainly annoying.
When doing the cleanup, in a first step I removed all references to the CombatComponent in other Blueprints and submitted the changes. Then I removed the component from the LP_Character (and its child class) and only then did I remove the CombatComponent itself. (I committed these two changes together.)
When I next reopened the editor after that, there were a few error messages about some other components referencing the component that I really wouldn’t have thought had anything to do with it, but I compiled and saved them. Then I committed the changes and afterwards, the errors were gone.
However, I’ve been completely unable to get rid of the error for the LP_Character itself, no matter how often I resaved and recompiled it (with or without actual changes to the Blueprint). I also tried saving and re-submitting all maps (though the Character was never initially placed), LP_Character’s child blueprint, the GameMode (spawning the Character) and AIController (possessing it), and committed the changes. Nothing I did made any difference.
Obviously, I’ve closed and reopened the editor a couple of times. Opening the editor in a separate check-out shows the same message. Deleting the Intermediate/Saved directory also had no effect.
FWIW, the LP_Character implements two interfaces and is used pretty much everywhere in the project. The ContentBrowser lists two C++ classes but they’re both experimental and aren’t actually used in the game itself. The project started out a pure Blueprint project, so the LP_Character Blueprint class is directly derived from the Character class. (I still tried recompiling the project, which predictably didn’t change anything.)
We’ve managed to remove another component (also on LP_Character) without any such problems.