This function below is working in Unity Editor but on mobile it doesnt and gets errors:
Error starts with: Error Unity SerializationException: Unable to find type: 'Unity.VisualScripting.Unit'. Error Unity at AndroidIAPExample.RefreshIAPItems () [0x00000] in :0
The fucntions called on a button click and after login
Forum doesnt like puting code in messages:
public async void RefreshIAPItems()
{
GooglePlayCatalog = new Dictionary<string, PlayFab.EconomyModels.CatalogItem>();
SearchItemsRequest playCatalogRequest = new()
{
Count = 50,
Filter = "Platforms/any(platform: platform eq 'GooglePlay')"
};
SearchItemsResponse playCatalogResponse;
do
{