I’m trying to make a multiplayer game with dedicated server. My problem is, I have a function for spawn clothes and weapon. I’m storing these actor’s references in a array. These references disappears when this function is done.
If this is being called inside a function. Please check that you have not made “Local Variables” as these exist only inside the function and are lost once the function exits.
If you have then relocate the variables into the “Variables” section within your blueprint. they will then be persistent whilst the actor is valid.