Can anyone tell me what is happening here? Seems like I've been fighting this API for two days. This is Unity SDK 2.9 runing under Unity 4.5.1f3 in C#.
I want to get my catalog items:
public void GetCatalogItems{
try{
App42Response resp = catalogService.GetItemsCountByCategory("MyCatalog","MyCategory");
int count = resp.GetTotalRecords(); // THIS SHOWS 1 RECORD... YAY
Catalogue cata = catalogService.GetItemsByCategory("MyCatalog","MyCategory"); //API indicates this call returns a Cataogue
// AND YES... I even tried to create the object first Catalogue cata = new Catalogue(); cata = catalogueService.GetItemsByCategory("MyCatalog", "MyCategory");
int count2 = cata.GetTotalRecords(); // THIS SHOWS -1... wtf?????
}catch(Exception e){
Debug.Log("This is incredibly frustrating");
}
}