Hi! Thank you for your awesome work!!
Unfortunatelly I get an error when I try to pick up an item:
ArgumentException: Destination array was not long enough. Check destIndex and length, and the array's lower bounds System.Array.Copy (System.Array sourceArray, Int32 sourceIndex, System.Array destinationArray, Int32 destinationIndex, Int32 length) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System/Array.cs:977) System.Array.Copy (System.Array sourceArray, System.Array destinationArray, Int32 length) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System/Array.cs:936) System.Collections.ArrayList.CopyTo (System.Array array) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Collections/ArrayList.cs:3053) Inventory.AddItem (UnityEngine.Transform Item) (at Assets/Inventory/Scripts/Inventory.cs:66) Item.PickUpItem () (at Assets/Inventory/Scripts/Items/Item.cs:110) FirstPersonPickUp.Update () (at Assets/Inventory/Scripts/Items/FirstPersonPickUp.cs:75)
It seems that I am not the only one since I found this thread: http://forum.unity3d.com/threads/inventory-system-from-brackeys.245201/
But since it is quite old now, you might have changed some stuff since…
Don’t you have this problem?
What would you suggest to fix it?