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

Bug UDP Sandbox asks for credentials twice in a row

Discussion in 'Unity Distribution Portal (UDP)' started by damelin, Feb 20, 2023.

  1. damelin

    damelin

    Joined:
    Jul 3, 2012
    Posts:
    64
    Is this a normal flow that the sandbox credentials are asked twice, back to back.

    StoreService.Initialize is called only once.

    Can it ends up in to a weird behaviour once on the specific platform stores?
     
  2. damelin

    damelin

    Joined:
    Jul 3, 2012
    Posts:
    64
    Here's a part of the logcat

    But still not clear who's calling the Initializing a second time

    Code (CSharp):
    1. 02-20 10:36:44.228 29656 29733 I Unity   : Initialization succeeded
    2. 02-20 10:36:44.228 29656 29733 I Unity   : InitListener:OnInitialized(UserInfo)
    3. 02-20 10:36:44.228 29656 29733 I Unity   : UnityEngine.UDP.MainThreadDispatcher:Update()
    4.  
    5. 02-20 10:36:44.229 29656 29733 I UnityDistPlatform: [UDP] Querying Inventory
    6. 02-20 10:36:44.286 29656 29922 I UnityDistPlatform: [UDP] [UDP] onGetProductsSucceeded
    7. 02-20 10:36:44.338 29656 29942 I UnityDistPlatform: [UDP] [UDP] onGetPurchaseSucceeded
    8. 02-20 10:36:44.339 29656 29656 W UnityDistPlatform: [UDP] Field (currencyMap) cannot be converted
    9. 02-20 10:36:44.339 29656 29656 W UnityDistPlatform: [UDP] Field (currencyMap) cannot be converted
    10. 02-20 10:36:44.339 29656 29656 W UnityDistPlatform: [UDP] Field (currencyMap) cannot be converted
    11. 02-20 10:36:44.339 29656 29656 W UnityDistPlatform: [UDP] Field (currencyMap) cannot be converted
    12. 02-20 10:36:44.339 29656 29656 W UnityDistPlatform: [UDP] Field (currencyMap) cannot be converted
    13. 02-20 10:36:44.339 29656 29656 W UnityDistPlatform: [UDP] Field (currencyMap) cannot be converted
    14. 02-20 10:36:44.339 29656 29656 W UnityDistPlatform: [UDP] Field (currencyMap) cannot be converted
    15. 02-20 10:36:44.339 29656 29656 W UnityDistPlatform: [UDP] Field (currencyMap) cannot be converted
    16. 02-20 10:36:44.339 29656 29656 W UnityDistPlatform: [UDP] Field (currencyMap) cannot be converted
    17. 02-20 10:36:44.339 29656 29656 W UnityDistPlatform: [UDP] Field (currencyMap) cannot be converted
    18. 02-20 10:36:44.339 29656 29656 W UnityDistPlatform: [UDP] Field (currencyMap) cannot be converted
    19.  
    20. [... Some more logs about the retrieved in app products]
    21.  
    22. 02-20 10:36:45.337 29656 29656 I UnityDistPlatform: [UDP] Initializing.
    23. 02-20 10:36:45.338 29656 29959 E UnityDistPlatform: [UDP] [DEBUG] provider service init
    24. 02-20 10:36:45.372 29656 29733 I Unity   : udp.gameManager.OnApplicationPause
    25. 02-20 10:36:45.372 29656 29733 I Unity   : UnityEngine.UDP.UdpGameManager:OnApplicationPause(Boolean)
    26.  
     
  3. Unity-Boon

    Unity-Boon

    Unity Technologies

    Joined:
    Jan 18, 2017
    Posts:
    135
    You can just ignore it. It will be gone after repack for other stores.
     
    damelin likes this.
  4. johnkennedy169

    johnkennedy169

    Joined:
    Mar 30, 2023
    Posts:
    4
    It's true, if you ignore it it disappears, it's true what it says
     
  5. johnkennedy169

    johnkennedy169

    Joined:
    Mar 30, 2023
    Posts:
    4
    I confirm it from experience because the same thing had happened to me until finally after several days it disappeared as if by magic