Currently I'm working on a subsystem for economy in my project. Im not able to use UFUNCTION(BlueprintPure) for any of my getter functions for things like the FItemInstance . I want to be able to pass in an item reference from a UI button and run checks so that I can give the player the correct in game asset. I also want to compare items that the player is selecting against what they already have in their inventory. But im not able to pass FItemInstance as a parameter to a blueprint exposed function. What is the correct way to achieve this?
In this picture im trying to get a copy of the result struct but its the same error if I try to get a copy of the FItemInstance struct as well.