Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Question Unity IAP for Windows store failed

Discussion in 'Getting Started' started by wechat_os_Qy04NxLmLbsv4GeLBVsNwCPFU, Jun 8, 2023.

  1. wechat_os_Qy04NxLmLbsv4GeLBVsNwCPFU

    wechat_os_Qy04NxLmLbsv4GeLBVsNwCPFU

    Joined:
    Mar 24, 2022
    Posts:
    2
    1. i had upload our app on windows store and also have add-ons.
    upload_2023-6-8_20-30-56.png
    2. in unity iap fake test is working well.
    3. when publish UWP app and test on PC, it always show those 2 errors as bellow.
    Code (CSharp):
    1. Unity Purchasing: UnityIAPWin8:Unable to retrieve app receipt:Exception of type 'System.Exception' was thrown.
    2. System.Threading.OSSpecificSynchronizationContext:InvocationEntry(IntPtr)
    3.  
    4. Unity Purchasing: UnityIAPWin8:PollForProducts() Exception (persistent = True, delay = 0, retry = 30), exception: Exception of type 'System.Exception' was thrown.
    5. System.Threading.OSSpecificSynchronizationContext:InvocationEntry(IntPtr)
    upload_2023-6-8_20-39-50.png

    upload_2023-6-8_20-35-59.png

    4. i had search this problem a whole day, but cannot find out any usefull information.please help with this problem, thank you!
     
  2. wechat_os_Qy04NxLmLbsv4GeLBVsNwCPFU

    wechat_os_Qy04NxLmLbsv4GeLBVsNwCPFU

    Joined:
    Mar 24, 2022
    Posts:
    2
    unity version:2021.3.25f1c1
    IAP version: 4.9.2
    target platform : UWP
     
  3. TheSofaKing

    TheSofaKing

    Joined:
    Jun 10, 2015
    Posts:
    16
    so anyone have any info on how to fix this. Been building UWP for years now and just recently updated project to latest 2022 unity and now get this error. Going back to older versions did not help.


    Unity Purchasing: UnityIAPWin8:pollForProducts() Exception (persistent = True, delay = 0, retry = 30), exception: Exception of type 'System.Exception' was thrown.