Blueprint Runtime Error: Accessed None trying to read property...

Hey everyone,

I`m trying to make an inventory system so that I can pick an item from the ground and it is listed in my inventory. I can pick it up, but it isnt listed in my inventory because of this error:

Blueprint Runtime Error: Accessed None trying to read property BackpackRef from function: ‘ExecuteUbergraph_TemplatePickup’ from node: Add in graph: EventGraph in object: TemplatePickup with description: Accessed None trying to read property BackpackRef

Did i make something wrong with my Reference to my Backpack Blueprint?

How are you setting BackpackRef?

Its a Reference to a Widget Blueprint (My Inventory)

That reference should be an instance of the widget BP and not the widget BP itself.

You should get this instance reference when you create the widget with “Create Widget”.