In my game, you have to pick up herbs and bandages to heal yourself. There is a trigger box in the character and in the herb. Whenever I try to say is an overlapping component with the two trigger boxes it gives me an error for the one coming from the character. I have a cast to player character on event begin play that promotes the cast to a variable. Then on event tick, it uses the character reference variable to get the trigger box from the character. Whenever I try a different trigger box from my character it works just fine but for some reason, this one doesn’t.
Error message with pick up trigger box.
No error with other box in player character that is used for something else.