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

Resolved UWP subscription

Discussion in 'Unity IAP' started by Lesha-VH, Sep 28, 2019.

Thread Status:
Not open for further replies.
  1. Lesha-VH

    Lesha-VH

    Joined:
    Jul 3, 2012
    Posts:
    92
    Jeff, please, clarify are subscriptions for Windows Store (ILL2CPP, Win 10 minimum) supported?
    Thanks!

    1.22.0, other products work fine
     
    Last edited: Sep 28, 2019
  2. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    They should be working, are you receiving an error?
     
  3. Lesha-VH

    Lesha-VH

    Joined:
    Jul 3, 2012
    Posts:
    92
    Yes - warning in log: "Unavailable product %product_id%"

    Add-on has correct status in dashboard: "In the Microsoft Store",
    product added to ConfigurationBuilder as "Subscription"
     
    Last edited: Oct 1, 2019
  4. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    Can you share your code? From the logs, it sounds like you've defined a product in your app with an explicit name "%product_id%"?
     
  5. Lesha-VH

    Lesha-VH

    Joined:
    Jul 3, 2012
    Posts:
    92
    Here is console log without any %%, all other product types work fine.
    Log was taken from build that downloaded from store.
     

    Attached Files:

  6. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    Please provide the full log. I haven't tested specifically with UWP subscriptions however. You mention that other products work ok, subscriptions should work the same way. We may need to test. Please try with a much shortened single word ProductID. Unless your other productIDs have the same character set, I doubt that is the issue however, but something to check.
     
  7. Lesha-VH

    Lesha-VH

    Joined:
    Jul 3, 2012
    Posts:
    92
    Jeff - that's the full log. 2 line:
    - first about Unity IAP version
    - second that comes from Unity IAP (on screenshot)

    All product have the same format - lots of characters with lots of dots...
    I can confirm, that all consumable products work, but subscriptions still not...

    If you did not make tests with UWP subscriptions - I think that's the reason)))
     
  8. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    That is possible, I will let the IAP team know.
     
  9. creat327

    creat327

    Joined:
    Mar 19, 2009
    Posts:
    1,739
    I have the same issue here. Is there any update? All products work except for UWP subscriptions.
     
  10. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    We will have to research this and hopefully get it into a future release. Sorry we don't have a more specific answer at this time.
     
  11. creat327

    creat327

    Joined:
    Mar 19, 2009
    Posts:
    1,739
    oh boy, that sounded like "you'll see Unity 2022.3 before we fix UWP subscriptions". Specially since this was first reported on September.
    This is an urgent issue, half of my game income is from subscriptions. I've just moved from android/ios to UWP and the button is there for mere decoration purposes.
     
    StrangeWays777 likes this.
  12. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    How many users do you have on UWP compared to iOS/Android? That would help us set proper priority. We aren't ignoring the issue, we have limited resources working on priority issues.
     
  13. creat327

    creat327

    Joined:
    Mar 19, 2009
    Posts:
    1,739
    Well, it's getting about 4000 new a day, as I said I've just moved to UWP that game so it doesn't make sense to compare the userbase to existing ios/android which counts a few million downloads right now.
    I just expected that the same code would work since i'm using unity IAP and to my surprise, anyone trying to subscribe on UWP can't do so.
     
    StrangeWays777 likes this.
  14. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    Your game has millions of downloads on Android, and getting 4,000 new users on Windows per day? Nice! And you mean it was working in your UWP testing, and then you were surprised it wasn't working when you released it?
     
  15. creat327

    creat327

    Joined:
    Mar 19, 2009
    Posts:
    1,739
    The test system seems ok. I didn't get any error. And after release, every IAP works on UWP. It's only the subscription system that it's failing. Everything else seems ok.
     
    StrangeWays777 likes this.
  16. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    So subscriptions worked in your testing?
     
  17. creat327

    creat327

    Joined:
    Mar 19, 2009
    Posts:
    1,739
    Yes, on test mode it returns a fake "ok". It's only when you build a release that fails. Using 2019.3b11 btw.
     
    StrangeWays777 likes this.
  18. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    Fake mode does not connect to any store. I meant in your testing on an actual Windows UWP device.
     
  19. creat327

    creat327

    Joined:
    Mar 19, 2009
    Posts:
    1,739
    No, there it never works on UWP.
     
    StrangeWays777 likes this.
  20. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    I might suggest then that if doesn't work in your testing, you probably don't want to release it to customers, or perhaps remove that product link in your game (unfortunately). We will be looking into UWP subscription support.
     
  21. creat327

    creat327

    Joined:
    Mar 19, 2009
    Posts:
    1,739
    StrangeWays777 and build-unity like this.
  22. EnsenaSoft

    EnsenaSoft

    Joined:
    Nov 28, 2012
    Posts:
    13
    With Microsoft cancelling its ad service, I would also like to get subscriptions working. 30K+ daily users and now no way to monetize. Will this work in Unity soon?
     
  23. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    I just checked with the IAP team, and UWP subscriptions are not currently supported. We are continuing to discuss it here, but we have no immediate plans at this time.
     
  24. creat327

    creat327

    Joined:
    Mar 19, 2009
    Posts:
    1,739
    Conclusion: write your own. Unity IAP for some unknown reason doesn't support subscriptions only on UWP. And I mean truly unknown reason because it took one evening to implement on my side and on unity side it would be a piece of cake (a few hours at most?) because they already have the whole system for regular in-apps and it's exactly the same code.

    Go figure... one of those mysteries at Unity.
     
    StrangeWays777 likes this.
  25. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    Yes a code update often takes a few minutes to maybe a few hours or so. For any large company with hundreds of developers working on a project, by far the most time is taken in testing and integration between teams to ensure a stable product release. In previous companies, I've seen this take more than a year to release a single bug fix. In this case, the IAP team is also resource limited, and we have a back-list of higher priority issues.
     
    Last edited: Feb 7, 2020
  26. creat327

    creat327

    Joined:
    Mar 19, 2009
    Posts:
    1,739
    IAP is a separate package from Unity. They could even open-source it and we could fix it in no time. I honestly think all that it's required, in this case, is a few lines of code because everything for subscriptions is already written on the IAP package.
     
  27. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    Fair point. Actually it's integrated into the Package Manager too and requires both an Asset package update and a Package Manager package update. We are working to improve this. The team is aware of the request for UWP subscription support, I'm on your side!
     
  28. CanisLupus

    CanisLupus

    Joined:
    Jul 29, 2013
    Posts:
    427
    Really? I just found out this thread. This is VERY IMPORTANT.
     
  29. CanisLupus

    CanisLupus

    Joined:
    Jul 29, 2013
    Posts:
    427
    Are we supposed to natively implement the IAP system for UWP ourselves to get subscriptions?

    Sorry, I have to ask: what is stopping the Unity team from allocating more resources to the IAP system? Not UWP, but in general. Is this not a priority at all? Few users using the sytem? Are users implementing things natively for all platforms?

    There are no scripting docs online (reported more than a year ago), there's a bug causing some assemblies to see IAPs enabled/disabled differently (reported more than a year ago, constantly causing problems in our build pipeline), there are no subscriptions on UWP (I thought the module was as close to cross platform as possible), etc.

    I don't know what to say anymore. I regret not having implemented our own system for all platforms, which is kind of a sad thing since the Unity Purchasing package mostly works, but then fails in things that seem essential as well.
     
    Last edited: Feb 3, 2021
  30. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    Not much demand for UWP, we have larger issues on iOS and Android. We are still resource constrained, but have hired additional developers, so good news!
     
    CanisLupus likes this.
  31. CanisLupus

    CanisLupus

    Joined:
    Jul 29, 2013
    Posts:
    427
    Thanks for replying, Jeff. That is indeed great news!

    I'm 100% sure that you have larger problems and a much larger user base on Android/iOS, but I was hoping UWP subscriptions were part of the package. It's unfortunate and will cost us some time to implement and test. But hopefully not too bad...
     
  32. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    UWP subscriptions are fairly new and were introduced since we first shipped UWP support
     
  33. programming123

    programming123

    Joined:
    Oct 27, 2012
    Posts:
    19
    can you please share the code of the system that we can use to enable subscription and check if this subscription is not expired for windows store.

    thank you
     
    markoal likes this.
  34. creat327

    creat327

    Joined:
    Mar 19, 2009
    Posts:
    1,739
    And now its almost 2022 as predicted. Lol
    I mean, Unity went IPO and so much money they can write this with a breeze (I did it in an aftertoon). Conclusion: they don´t give a damn.

    Subscriptions in UWP and receipt validations for it, are still failing. So you can't check if someone bought an automatic subscription from the store and if they have renewed it.

    Usual dev timeframe = one evening.
    Unity loaded with money to buy speedtree and other stuff = needs 2 to 3 years dev time. Awesome!
     
    StrangeWays777 likes this.
  35. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    We are focused on Android and Apple, demand for UWP is very low. You might consider other IAP resources on the asset store for now. We are planning a resolution for UWP in the next couple of months.
     
  36. creat327

    creat327

    Joined:
    Mar 19, 2009
    Posts:
    1,739
    Then why don't you just remove UWP altogether? I mean, I understand demand can be low, but the reason demand is low is because the IAP unity system is crap on UWP so we don't want to use it. Like myself, who had to implement my own system.

    Also, you said TWO years ago that Unity would work on it. I even sounded like a jerk making fun of that comment and now it looks, again, like I was right. Unity has proven to me time after time that the lower I set my expectations with releases, the better. This is just one more. You guys really need to put some work on customer satisfaction.

    Seriously, this is one evening work for any serious developer out there. You can't tell me Unity is not capable, doesn't have the resources, or got more important things to do for TWO years in something that requires one evening.

    Why I don't copy and paste my code here and make every user happy? Because it's literally a copy and paste from the url I posted 2 years ago with minimum changes. And there is a difference between helping other forum readers and doing Unity's work. Oh, and I was WISHING to be proven wrong so badly and have Unity actually release a fix for this in a decent amount of time.
     
    StrangeWays777 and JariHuomo like this.
  37. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    I believe you will be happy with the solution that we will be providing in due time. Sorry for the delay.
     
  38. JariHuomo

    JariHuomo

    Joined:
    Feb 8, 2013
    Posts:
    48
    "Windows Store subscriptions are not available yet. It is on our roadmap for this year however."
    JeffDUnity3D, Apr 4, 2018

    Maybe year 2022 is finally the year !
     
  39. creat327

    creat327

    Joined:
    Mar 19, 2009
    Posts:
    1,739
    Keep dreaming. It took them 7 years to add holes to the terrain. So calculate...
     
  40. Odiobill

    Odiobill

    Joined:
    Jul 16, 2018
    Posts:
    10
    Hi Jeff, is there any news in that regard?
     
  41. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    The timeframe, if implemented, would likely be in Q2 of this year.
     
  42. creat327

    creat327

    Joined:
    Mar 19, 2009
    Posts:
    1,739
    Just open-source the IAP package and allow us to add it. 2 years ago you posted that you guys had hired some devs who would be working on this. Not sure if that was a joke.
    In any case, as I suggested years ago, if you open-source this package the community would fix it and add it in a heartbeat.
     
    StrangeWays777 likes this.
  43. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    That is indeed an option that we are discussing. Another option that is available now was mentioned in my Nov 17 post.
     
  44. creat327

    creat327

    Joined:
    Mar 19, 2009
    Posts:
    1,739
    which one? use other IAP resources in the store? Because there are many and none free, and who knows which one works with UWP subscription. Can you be more specific?
     
    StrangeWays777 likes this.
  45. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    Sorry, you would need to check directly.
     
  46. creat327

    creat327

    Joined:
    Mar 19, 2009
    Posts:
    1,739
    I've checked over 10 and their descriptions don't mention UWP subscriptions. So telling us to get one of the IAP available, it's like asking us to find a diamond in a dark mine. Not much help. If you were to point us to at least one or two assets on the store that handles UWP subscriptions it would be helpful. As far as I know, nothing in the asset store handles UWP subscriptions.
     
    Last edited: Jan 5, 2022
    StrangeWays777 likes this.
  47. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    Thank you for checking, you may be right and sorry for the confusion. Unfortunately I would not have further specifics
     
  48. rysenko

    rysenko

    Joined:
    Sep 6, 2015
    Posts:
    5
    Any news on this? I would like to add UWP as a platform and need subscription support for that. Q2 has passed already and from Release Notes I don't seen UWP subscriptions mentioned. Should I wait for Unity IAP support in near future or should I start implementing it myself?
     
    StrangeWays777 likes this.
  49. creat327

    creat327

    Joined:
    Mar 19, 2009
    Posts:
    1,739
    StrangeWays777 likes this.
  50. StrangeWays777

    StrangeWays777

    Joined:
    Jul 21, 2018
    Posts:
    29
    I can't believe this isn't fixed yet what a joke, how is it not a priority when it directly affects income? @creat327 Thanks for pointing me in the right direction! Like you said, an hour+ work. 3+ years and nobody at Unity could spare a couple of hours? Wow
     
    Last edited: Jan 18, 2023
Thread Status:
Not open for further replies.