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

Question Windows Store IAP

Discussion in 'Unity IAP' started by dayjur, Aug 27, 2022.

  1. dayjur

    dayjur

    Joined:
    Sep 6, 2014
    Posts:
    122
    So Windows Store IAP is no longer working it does not init, I read a post where JeffUnity3d pretty much said
    it has less than 2% market share and we are looking to support others like steam UWP is old topic case closed

    So can Unity confirm that they are no longer supporting IAP for Windows Store so developers can take steps
     
  2. PeachyPixels

    PeachyPixels

    Joined:
    Feb 17, 2018
    Posts:
    680
    I'm using Unity IAP for two UWP games and am not seeing any init issues (on Win 10)

    That said, Unity Purchasing is using an old version of the MS Store API which can present problems.

    For example, it doesn't support private audiences (only public). Using private audiences (from what I remember) throws an exception on init, so maybe that's what you're seeing?

    Regardless of market share, I see a decent number of developers supporting UWP. So I really wish Unity would take it seriously and update to the latest MS Store API. They actively support UWP as a platform, so why not the IAP side of things.

    There is a package on the Unity Asset store that supports the latest MS Store API, so you may want to look into that as an alternative.
     
  3. dayjur

    dayjur

    Joined:
    Sep 6, 2014
    Posts:
    122
    Using Windows 11 updated to latest Unity IAP version
     
  4. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    The post just above yours is accurate.
     
  5. dayjur

    dayjur

    Joined:
    Sep 6, 2014
    Posts:
    122
    Jeff that is not a response is Unity not supporting Windows IAP anymore,?
     
  6. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    The response is accurate. You need to install the Universal Windows Platform first as a build target in Unity. Then you choose Microsoft Store as the IAP Store Target from the Services menu in the Editor. I just confirmed this works as expected. I'm using Unity 2021.3.6f1 and IAP 4.4.1
     
  7. dayjur

    dayjur

    Joined:
    Sep 6, 2014
    Posts:
    122
    Windows 11 latest IAP 4.4.1 does not initialize fail or success callbacks not firing, published Apps that were working fine with a slightly older IAP version are no longer working, which is why I tried updating to latest but to no success
    see this thread
    https://forum.unity.com/threads/uwp-unity-iap-initialize-failed-without-any-callback.1181431/

    creat327 says
    "The best solution is to not use Unity IAP in UWP. They keep breaking it and they ignore requests to fix it."

    Jeff you respond with
    "Agreed, Microsoft changed the API. Also, the market share for UWP is now less that 2%. We are looking to support other stores on the Windows platform like Steam. Closing this thread, UWP is an old topic."

    So my question is Unity planning on continued support for IAP on UWP
     
  8. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    Not anytime soon.
     
  9. PeachyPixels

    PeachyPixels

    Joined:
    Feb 17, 2018
    Posts:
    680
    Hi Jeff,

    Have you tried Unity IAP on Win 11 by any chance? I don't have access to it, so haven't tried personally.

    I can live with the limitations of Unity IAP on Win 10, as I'm sure most could. But if it turns out that it doesn't work on Win 11, I honestly think Unity need to consider changing their approach here. Win 11 has a large enough market share for this to be a bigger issue now.

    Unity is supporting UWP (as a platform) and even UCB is supposed to be adding UWP support (last I heard, Q4 this year)

    So to officially 'support' a product that is partly broken on Win 10 and (potentially) completely broken on Win 11 seems out of step (regardless of the argument on market share)

    I think it's time for Unity to either update it's IAP support for UWP, or officially mark it as deprecated\unsupported and move on.

    It helps nobody (Unity or devs) in having a product that is (for all intents and purposes) 'supported' but ultimately broken.

    My games are available on Windows, Android & iOS and I would like that to continue. As it stands, supporting IAP on Windows looks like it means supporting multi IAP providers, which is just not ideal.
     
    Last edited: Sep 1, 2022
  10. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    Sorry no. We plan to make an announcement in this area soon.
     
    PeachyPixels likes this.
  11. dayjur

    dayjur

    Joined:
    Sep 6, 2014
    Posts:
    122
    Well seems like there is a market for UWP IAP plugin in the asset store
     
    JeffDUnity3D likes this.
  12. Morphus74

    Morphus74

    Joined:
    Jun 12, 2018
    Posts:
    174
    Anyone have a good UWP IAP solution? as many mention IAP is broken with private UWP, which make it hard to do testing.

    If not will look to develop a store extension... So sad that there is no good support for UnityADs and IAP for Windows
     
  13. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    You might try Simple IAP in the asset store, it's a good product.
     
  14. Morphus74

    Morphus74

    Joined:
    Jun 12, 2018
    Posts:
    174
    Simple IAP is interesting but it use Unity IAP to work, so it have the same limitation
     
  15. dayjur

    dayjur

    Joined:
    Sep 6, 2014
    Posts:
    122
    Cmon Jeff ..
     
  16. Quawetim-Inf

    Quawetim-Inf

    Joined:
    Mar 10, 2020
    Posts:
    8
    Hi, can you explain some thing. We have an app at Windows Store with Unity IAP 4.1.2 and it works well.
    Now we update to Unity IAP 4.4.1 for GP/iOS, and UWP build now can't initialize products even with mock system enabled:

    Code (CSharp):
    1. var purchasingModule = StandardPurchasingModule.Instance();
    2. var builder = ConfigurationBuilder.Instance(purchasingModule);
    3. builder.Configure<IMicrosoftConfiguration>().useMockBillingSystem = true;
    At log we receive

    Unity Purchasing: UnityIAPWin8:PollForProducts() Exception (persistent = true, delay = 10000, retry = 10), exception: access denied


    Is it correct, that problem is with Unity IAP and we can't no longer use it with UWP?
    Is there are any requirements for build settings? D3D or XAML? Minimum platform version?

    P.S.: Unity 2020.3.24f
     
    Last edited: Oct 6, 2022
  17. dayjur

    dayjur

    Joined:
    Sep 6, 2014
    Posts:
    122
    yeah pretty much all my published Apps IAP stopped working in Aug I think and updating to latest does not solve problem as Jeff as implied they are no longer interested in UWP instead they prefer to not say anything and string out developers for torture, sometime I wonder why I pay $35 a month just to avoid a Unity splash screen
     
  18. Quawetim-Inf

    Quawetim-Inf

    Joined:
    Mar 10, 2020
    Posts:
    8
    What Unity and IAP versions in your published apps? Purchases in our published app still works, but in new builds are not.
     
  19. Morphus74

    Morphus74

    Joined:
    Jun 12, 2018
    Posts:
    174
    I use 4.4.1 with Windows Store and it work well, if your product is "public" (can be non searchable) however