So I am trying to set pressureplate on shooterCharacter so when it overlaps with the trigger volume, the player will regen health. However when I do
UPROPERTY(EditAnyWhere)
ATriggerVolume *PressurePlate;
And try to set pressureplate in the details, it gives me error
LogProperty: Warning: Illegal TEXT reference to a private object in external package (TriggerVolume /Game/SandBox.SandBox:PersistentLevel.PressurePlate) from referencer (BP_Player_C /Game/BP_Player.Default__BP_Player_C). Import failed...
LogProperty: Warning: Illegal TEXT reference to a private object in external package (TriggerVolume /Game/SandBox.SandBox:PersistentLevel.PressurePlate) from referencer (BP_Player_C /Engine/Transient.World_10:PersistentLevel.BP_Player_C_0). Import failed...
LogProperty: Warning: Illegal TEXT reference to a private object in external package (TriggerVolume /Game/SandBox.SandBox:PersistentLevel.PressurePlate) from referencer (BP_Player_C /Engine/Transient.World_6:PersistentLevel.BP_Player_C_1). Import failed...
Is this a correct approach to do so? If so how should I implement this?
Thanks in advance!