I have an actor for ingame item purpose.Its have a collision sphere thats (only) enables input for player controller 0 to be able pick it up, and disable it upon EndOverlap.I have an array of items variable in my character.I am able to pick up item and add it to inventory correctly, destroying it from world.Having an item drop function to spawn actor in front of me from class ,passing stats to it by reference from variable.All variable assignment works fine. Problem is if i spawn item, and pick it up right after it, its just get destroyed without being add to inventory.But if i leave and reenter a collision sphere before repicking it,retriggering BeginOverlap event, everything works fine.
it seems thats BeginOverlap event doesnt called upon spawn, as well as EndOverlap not triggered upon destroying.
And seems like character does not have any info about item stats without retriggering BeginOverlap event.
What function should i use to refresh this effect upon spawning?