Here's the code from Unity
public void UnlockContainer(string containerId, Action<List<InventoryItem>> success, Action<string> error) { var request = new UnlockContainerItemRequest(); request.CatalogVersion = "Rhino Store"; request.ContainerItemId = containerId; Action<UnlockContainerItemResult> callback; callback = r => { var items = r.GrantedItems .Select(i => CloudDataFactory.GetInventoryItem(i)); if (success != null) success(items.ToList()); }; Action<PlayFabError> errorCB = e => { if (error != null) error(e.GetFormattedError()); }; PlayFabClientAPI.UnlockContainerItem(request, callback, errorCB); }
Everything else seems fine. Any help will be appreciated.