Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

Question Upgrade 4.6.0 to 4.9.3 gives NoProductsAvailable on GooglePlay/Amazon

Discussion in 'Unity IAP' started by GustavNinja, Aug 7, 2023.

  1. GustavNinja

    GustavNinja

    Joined:
    Jun 13, 2016
    Posts:
    86
    I recently updated my games Unity IAP to the latest package because of some bugs. But with this latest version we have started to receive a lot of "NoProductsAvailable" errors on Initialization. We have not changed any of the ProductId so we are wondering if there is something that has happened lately with Billing Library update?
     
  2. FlurinJenal

    FlurinJenal

    Joined:
    Nov 18, 2018
    Posts:
    14
    Not sure if it's because the new update or Billing Library as I just set it up the first time now. But I have the same initionalization error. When i test it in the editor, everything works as far as it should (I get the iap controller reference and the fake store popup up at the moment of purchase). When I test it in the final version, even in the closed beta track after submitting it to the Play Store, it failes to initialize, throwing: "NoProductsAvailable at UnityEngine.Purchasing.Extension.UnityUtil:Update()"

    Who can help?
     
    noclipstudio likes this.
  3. noclipstudio

    noclipstudio

    Joined:
    Mar 2, 2021
    Posts:
    71
    The same error here, Unity team do not response
     
  4. FlurinJenal

    FlurinJenal

    Joined:
    Nov 18, 2018
    Posts:
    14
    It seems to be fixed for me now. I only had one product in the IAP catalogue / Play Console, which was a subscription type. Eventually I had to name the subscription product ID in Play Console like the product ID in the catalogue but NOT the base plan ID. The base plan ID must be different. When I named both subcription ID and base plan ID in Play Console the same, somehow it didn't work.
     
  5. FlurinJenal

    FlurinJenal

    Joined:
    Nov 18, 2018
    Posts:
    14
    What I also did first is to add a normal, consumable IAP product (not a subscription) to the catalogue, just get the catalogue initialized in the first place and get rid of the "NoProductsAvailable" error. After everything worked, i removed the consumable again. But not sure, if that was necessary.