Hi Devs! Im currently working on my own inventory system, but i got an error:
Blueprint Runtime Error: “Accessed None trying to read (real) property HUD in BP_Inventory_C”. Node: Branch Graph: ForEachLoopWithBreak Function: Add to Viewport Blueprint: BP_Inventory
Blueprint Runtime Error: “Accessed None”. Node: Branch Graph: ForEachLoopWithBreak Function: Add to Viewport Blueprint: BP_Inventory
Blueprint Runtime Error: “Accessed None”. Node: Branch Graph: ForEachLoopWithBreak Function: Add to Viewport Blueprint: BP_Inventor.
So im creating a widget inside WB_Inventory and everytime i create a widget after i added it to uniform grid as a child i put it inside of a array of Slots(Which has the blueprint for the slot i created)
After that construct i make, later i want to pick up an item which works to! But the problem starts when im trying to Get the Slots array. It gives me that error above ^^^^^^,
I provide images of the blueprint below,
WB_Inventory(An Blueprint widget) also i cut some of the nodes of screen it’s just a print to check if everything works correct
The blueprint in question

