In my pawn-blueprint (named “VR_Pawn”) I have a boolean variable “Communication Test” and I want to set the material of some attached mesh depending on it’s state.
In another actor-blueprint I set this variable like so
The problem is that when trying to compile the actor-blueprint I get the error
-> Error This blueprint (self) is not a VR_Pawn_C, therefore ’ Target ’ must have a connection.
-> Error Variable node Set CommunicationTest uses an invalid target. It may depend on a node that is not connected to the execution chain, and got purged.
Why is that ? Target is connected so what’s the problem here ? I don’t get it…