bsimser / Inventory-Pro

https://devdog.io
MIT License
2 stars 0 forks source link

equip error on ANDROID build #291

Open bsimser opened 4 years ago

bsimser commented 4 years ago

Original report by Anonymous.


Dear Team ,

I have an issue with the equipment of items on the android build , everything seems to work fine in editor however the item does not equip in the build

i debugged and i get this an error at line 170 of CharacterUI

#!c#

if ( this.equippableSlots.Length == 0 )
            {
                Debug.LogWarning("This characterUI has no equipSlotFields, need to define some??", gameObject);
                return new EquippableSlot[0];
            }

followed by multiple errors in other sections , this seems to indicate that the equippableSlots list is null . i cant find the source of the issue . Debugging in the editor the equippableSlots does not return null.

Thanks in advance.