Sphere Trace not destroying actor

I am trying to begin my inventory system, however my sphere trace will not destroy actors on collision? I am removing it from the world so i can add it to the players inventory

231811-linetrace.gif

It still collided with the actor as the string will print the actors display name correctly

Sphere radius (30) is too small.

Post bigger blueprint screen, this is not readable

231881-ue4destry.jpg

I have tried putting the “destroy actor” in the event graph but nothing seems to work. This is a multiplayer game running a dedicated server

I will check this later, now installing ue on new pc… For simple debug add is valid to item Ref with print string both - is valid or not.
Btw - is your trace on item or player blueprint?

quickly done the isValid, and Item Ref is valid, this is in the player blueprint, It works on the host of a listen server but nobody else, or anybody on a dedicated server. I have tried adding some added multicast and client functions to no avail.

Thank you very much Vaheva, i hate to disappoint you like this but the actor wasn’t set to replicate and I am so embarrassed. Thanks anyway

I’m glad you have it done. I just installed ue, was hard to try from memory just.