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. Dismiss Notice

We've detected this app uses an unsupported version of Play billing... Huh??

Discussion in 'Unity IAP' started by Sparticus, Aug 30, 2022.

Thread Status:
Not open for further replies.
  1. Sparticus

    Sparticus

    Joined:
    Mar 15, 2014
    Posts:
    149
    I'm really confused. I uploaded a new version of my game to the google play console today, and I got this error :

    "We've detected this app uses an unsupported version of Play billing. Please upgrade to Billing Library version 4 or newer to publish this app."

    I uploaded the same game a few days ago with no issues and I have made no changes to the in app purchase stuff.

    I've been googling and it looks like they want the "com.unity.purchasing" package to be at least version 4.

    If I open up my manifest.json file I see this :

    "com.unity.purchasing": "4.1.5"

    So I think I should be good. What am I missing?

    Thanks!
     
  2. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    You would need at least IAP 4.4.0 or above which includes GPBL v4
     
    Last edited: Aug 31, 2022
  3. Sparticus

    Sparticus

    Joined:
    Mar 15, 2014
    Posts:
    149
    Hmm, the package manager claims I have the latest version. Is there a trick to get 4.3.0?

    upload_2022-8-30_17-6-0.png
     
    anycolourulike likes this.
  4. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
  5. Sparticus

    Sparticus

    Joined:
    Mar 15, 2014
    Posts:
    149
    Ok, the dropdown doesn't show any versions newer than mine. I checked out your link and it says to download the package by name... but I dont appear to have that option...

    upload_2022-8-30_17-14-2.png
     
    trombonaut likes this.
  6. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    Looks like by Git url works the same way. You would need Unity 2021+ to see "by name"
     
  7. Sparticus

    Sparticus

    Joined:
    Mar 15, 2014
    Posts:
    149
    Ok, I tried choosing "git url" and I entered "com.unity.purchasing". I can see it refreshes the packages and nothing changed. I still have version 4.1.5.

    For fun I tried entering "com.unity.purchasing > 4.4.0" and I can see in the console :
    Cannot perform upm operation: Unable to add package [com.unity.purchasing > 4.4.0]:
    So clearly the first command successfully did something.

    Do I have any other options? I literally cannot upload my game right now because of this version issue.

    I do see online some git repo's claiming to have version 4.4.1of iap... but obviously I can't trust those...
    https://github.com/needle-mirror/com.unity.purchasing
     
    trombonaut and anycolourulike like this.
  8. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    What version of Unity are you using?
     
  9. Sparticus

    Sparticus

    Joined:
    Mar 15, 2014
    Posts:
    149
    2019.4.40f1
     
  10. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    I tested with that version and see the same thing. I also tried manually updating manifest.json without luck. It looks like you'll need to upgrade Unity to at least version 2020.3.38f1 or above
     
  11. Sparticus

    Sparticus

    Joined:
    Mar 15, 2014
    Posts:
    149
    Ugh, last time I tried to upgrade my game to a newer version there was a ton of compatibility issues... oh well... guess I have no choice.

    You'd think that means no one can use this version of unity if you have in app purchases...
     
    anycolourulike likes this.
  12. ACEPlay2018

    ACEPlay2018

    Joined:
    Oct 18, 2018
    Posts:
    6
    Is there any documentation where I can convert the equivalent version of Unity IAP to the Google Play Billing Library version?
     
  13. Temseii

    Temseii

    Joined:
    Aug 23, 2016
    Posts:
    14
    Had the same problem today on 2021.3.5f1, version 4.1.5 was the latest available package version. Updating to the latest 2021 LTS version automatically updated the IAP package to 4.3.0.
     
    trombonaut likes this.
  14. Temseii

    Temseii

    Joined:
    Aug 23, 2016
    Posts:
    14
    I seem to be getting the same "We've detected that this app uses an unsupported version of Play Billing. Please upgrade to Billing Library version 4 or newer to publish this app." error message on Google Play's end even after updating "com.unity.purchasing" package to 4.3.0.

    Edit: On 4.4.1 I no longer get the error message.
     
    Last edited: Aug 31, 2022
    GameLover90 likes this.
  15. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    You are correct, my mistake. GPBL v4 was added in IAP 4.4.0 not 4.3.0, sorry for the confusion https://forum.unity.com/threads/uni...asset-store-v2-3-0.415517/page-2#post-8319519
     
  16. hjalmar_ku

    hjalmar_ku

    Joined:
    Sep 30, 2020
    Posts:
    1
    Isn't 2019.4. supposed to be a LTS version? Being unable to have IAPs seems pretty contradictory to that.
    The page listing for the LTS versions also says this:
    "Unity 2020.3 is now the legacy LTS; it will be updated monthly until it reaches the end of its support cycle in mid-2023."

    So I should upgrade to a version that won't be around for long? This can't be it.
     
    Last edited: Sep 1, 2022
  17. Temseii

    Temseii

    Joined:
    Aug 23, 2016
    Posts:
    14
    Unfortunately long-term is only a few years in this space. You should update to 2021 LTS. If at all possible, you should be updating LTS versions in your project yearly as new revisions become available.
     
    Last edited: Sep 2, 2022
  18. GearedSun

    GearedSun

    Joined:
    Apr 17, 2014
    Posts:
    30
    Well, already published apps will face similar fate in a few months:
    "From November 1, 2022, all app updates must use Billing Library version 4 or newer."

    I'm also on 2019 LTS. Do you plan to release an update to the purchasing plugin within the given timeframe for Unity 2019?
     
  19. ahmedaniss

    ahmedaniss

    Joined:
    Sep 18, 2019
    Posts:
    98
    Problem fixed here :
     
  20. ACEPlay2018

    ACEPlay2018

    Joined:
    Oct 18, 2018
    Posts:
    6
    I had these 2 problems when following your instructions.

    Library\PackageCache\com.unity.purchasing@4.4.1\Runtime\Purchasing\Telemetry\TelemetryQueue.cs(19,23): error CS1525: Invalid expression term '='

    Library\PackageCache\com.unity.purchasing@4.4.1\Runtime\Purchasing\PurchaseFailureDescription.cs(1,2): error CS1024: Preprocessor directive expected

    Do you have a solution?
     
  21. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    What version of Unity? Unity 2019 is not supported with Unity IAP
     
  22. ACEPlay2018

    ACEPlay2018

    Joined:
    Oct 18, 2018
    Posts:
    6
    Yes, I use Unity 2019.
    Some of my projects upgrading to 2020.3.38 encountered some errors so I couldn't upgrade. Is there any workaround for me?
     
    qixek likes this.
  23. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    Sorry no. You will need to upgrade Unity.
     
  24. anycolourulike

    anycolourulike

    Joined:
    Oct 14, 2017
    Posts:
    5
    "Documentation" lol good one
     
    Ikaro88 and Harrishun like this.
  25. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    Locking this thread now.
     
Thread Status:
Not open for further replies.