Cast otheractor to ACharacter and first check if this object is valid. then compare the casted acharacter with your playercharacter
Cast otheractor to ACharacter and first check if this object is valid. then compare the casted acharacter with your playercharacter