Inventory.GetAllItemType Returns null on Android/IOS but works perfectly in Editor

Hi so i have custom designed my inventory in editor and everything was going well unless i decided to switched to android build and when check list is returning null. You can check in the attachment as the GetAllItemTypes is used for editor checking purposes, so if anyone can help me in this, Do i need anything else? or is there any work around for it?

Thanks
 

Attachments

  • 2.PNG
    2.PNG
    33 KB · Views: 4
Top