# C++ Inventory: Issues with networking

**URL:** <https://forums.unrealengine.com/t/c-inventory-issues-with-networking/317483>\
**Category:** Editor Scripting\
**Tags:** Networking, inventory, unreal-engine, crash, Array, CPP, question\
**Created:** [May 5, 2015, 6:51am UTC](https://forums.unrealengine.com/t/c-inventory-issues-with-networking/317483 "2015-05-05T06:51:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nyhaalm](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nyhaalm/32/883727_2.png) [@Nyhaalm](https://forums.unrealengine.com/u/Nyhaalm)\
**Post date:** [May 5, 2015, 6:51am UTC](https://forums.unrealengine.com/t/c-inventory-issues-with-networking/317483/1 "2015-05-05T06:51:22Z")

</div>

When the client opens the inventory or picks up an item, the game and engine freeze for 4 minutes and then crash. It gives the error: array out of bounds on all of the inventory arrays and it looks like the inventory is not getting initialized on anyone but the listen server player. I have tried fixing it for a week now with no luck.

[The inventory system on github](https://github.com/tfrom222/UE4-InventorySystem)
