It’s probably something very simple. I am trying to give my items a UPROPERTY() FSlateBrush *InventoryBrush, so I can change what icon my items have in the inventory in the defaults of the blueprint.
But the Compiler gives me this error: “Inappropriate ‘*’ on variable of type ‘FSlateBrush’, cannot have an exposed pointer to this type.”
But in order to draw this brush with slate, it needs to be a pointer. What am I missing? If possible please answer beginner-friendly. Thank you
error LNK2019: unresolved external symbol “__declspec(dllimport) public: __cdecl FSlateBrush::FSlateBrush(void)” (_imp??0FSlateBrush@@QEAA@XZ) referenced in function …