Can't compile BP

Hello!
I have 2 BP, Player Controller and Player Character, the PC BP have casting functions to the character BP.
So there is a problem, all my components in character BP are not visible until I change something in the components details like this:

The errors are coming from the character BP but they are pointing to the casting functions in PC BP.
Casting functions are like this:

The errors are:

In addition, after some times that I tried to compile the cod at PC BP, the engine freezes… I need to do force quit from task manager to quit the engine. The RAM usage when the engine freezes is up to 4GB!!

Yesterday, it worked perfectly, I don’t know why now it is not.
Please help!

Sloved, I don’t know how but some nodes in character BP were deleted, so I restored them and it works now.