Saving weapons between levels

When I equip a weapon and approach a teleportation point to another level, the player itself is teleported, but the weapon is not. If I take the weapon and save it, it will be saved with me, but even then, the weapon is destroyed when I transition to the other level. Please help me, I don’t know what to do.

You will have to re-execute the weapon actor initialisation again once the level has been loaded.

How do I do that? I’ve been using this save system as a basis

Hey @AngFallen!

If the information about the weapon is being saved, you need to run a function to spawn your weapon and attach it to your player. I’d put it in as part of Begin Play and make sure the info is there with an isValid? check before running it (so if you don’t have a weapon, you don’t get a null reference exception).

There’s not really much we can do with that video as if you’re just using it as a base level, we don’t know the intricacies of your personal project. :frowning: But you can get us some pics or even video, right? :slight_smile: