Handling Payouts (DIsappearing from product.definition)

I have populated my products in the Product Catalog overlay in the Editor. At RunTime I load the product catalog and then use the ConfigurationBuilder to set up and initialise my store.

If I then query the value of product.definition.payout amongst the items in storeController.products.all, the payout value is always null - the data doesn’t carry across.

Yet it seems that on purchase when a purchaseEvent is created, the purchase event includes the payout data (I assume Unity IAP queries the catalog on purchase of a productId to append it).

My question is what is the reason for this inconsistency? It means that in my UI if I wanted to order my list by payout quantity (which I have a use case for) then instead of querying product.definition.payout.quantity from the storeController list, I have to get the IDs from the StoreController list and cross reference them against the Catalog (like Unity seems to do on purchase).

What is the logic? I have to jump through hoops due to inconsistency.

1 Like

Thank you for the report.

After verification, I have confirmed the issue and we will be fixing this soon.

1 Like