Im stuck here. So this is the drag and drop function I am trying to make for the inventory but here the engine is showing an error that it is not able to access the player inventory but i have already refrenced the BP_inventory in the variables
How did you do it? Creating a variable is not referencing.
At least one can not see the variable getting set in this graph.
Simple way to do is is to drag the variable to the graph and then “set p_inv” and connect an input.
If you want to check if the variable is set you can add a breakpoint on the “load inventory” node (rightclick menu) and then hover over the input of that node when the break appears. Chances are it is still empty.