Why is it that when i assign an object to a variable of the same type on my first person character and then delete the object, it throws me this error? didnt i already make a copy of it by setting the variable “equipped weapon” (image 1) ?
When you save an actor to a variable, it doesn’t create an independent copy of that actor in the variable, it creates a reference to the existing actor. If you delete the initial actor, the variable gets nullified. If you want to use the variable, the initial object must still exist.
So what could i do to like “copy” the object and then delete the actor from the scene?