Hey guys, I have been trying to make an inventory system. So far I have one main widget, called WGB_Inventory, that just has the basic grid and all the functionality for it. I have been trying to create another widget, called WGB_Container_Inventory, for my chests. Whenever I try to create this widget inside the BP_Chest actor, the underlying WGB_Inventory that is a part of WGB_Container_Inventory is set to null. Below is what I mean by it ‘being a part of’:
Here I am trying to create this widget and access it’s inventory:
With some debugging I found that just this component is set to null. I have tried using dummy widgets to check if the problem would persist and it indeed does, regardless of which widget is in place of the WGB_Inventory. I have also tried creating a new actor and doing it from scratch but to no avail. Any clues as to why this is happening and whether there is a work-around?