I am trying to understand why the blueprint code below works only if I place it in a Macro and not in Function.
Basically I am spawning an item which contains a struct (Item Details), I am then modifying some details in that struct.
When I do this via a Macro, it works and the struct is update correctly, however if I try the same inside a Function, it doesn’t work, the struct is not updated. I don’t understand why. Screenshots Below: I don’t mind using Macros, but don’t understand why the macro works but the function doesn’t.