Problems with the Spawn Actor

I am trying that if on the map there is no structure “CajaFuerte” one is spawn.
So far so good.

The problems are:

  • The storage of the “CajaFuerte” does not give access to the inventory.
  • When the “CajaFuerte” is destroyed, a static mesh remains. It is as if it were a shadow.

How can I solve these two problems? Or at least the second.

Thank you very much for your time and attention!

https://cdn.discordapp.com/attachmen…52/unknown.png

Your structure needs to have an inventory component in order to access it’s inventory. In order to place a new structure on the map, the structure needs to be added to the “Additional Structures to Place” section of your mod’s PrimalGameData.