In some (also modding-related) scenarios by the time the `SCR_InvCallBack` is executed the `OnItemAdded` or other events might have deleted it already, causing the line:
[[ https://wb.reforger.dev/redirect?to=enfusion://ScriptEditor/Scripts/Game/UI/Inventory/SCR_InventoryMenuUI.c;94 | enfusion://ScriptEditor/Scripts/Game/UI/Inventory/SCR_InventoryMenuUI.c;94 ]]
```
auto itemStorage = BaseInventoryStorageComponent.Cast(m_pItem.FindComponent(BaseInventoryStorageComponent));
```
to throw a null pointer exception. Please add a simple `if(m_pItem)` check before trying to get the component. The check is in place for other cases already in the code, just not this one.