UObject child construction in blueprint

So, in C++ part I have child of UObject - UKeyProcessor and child of APlayerController - AClickPlayerController. I have member in it:

`UPROPERTY ( EditAnywhere, BlueprintReadWrite, Category = “Button properties” )

UKeyProcessor* keys;`

Then I created blueprint CustomPlayerController, which is derived from AClickPlayerController. I see keys field, but I cannot assign anything to it. Only option is none.


And then, I’ve created function in AClickPlayerController:
void putKeys(UKeyProcessor* processor);
And tried to create variable of CustomPlayerType and pass it to putKeys with blueprints. But variable is always null. Now, I’m completely lost, what should I do?