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

Not start purchasing process on Xperia STAMINA mode

Discussion in 'Unity IAP' started by hyonsu_cho, Dec 4, 2020.

  1. hyonsu_cho

    hyonsu_cho

    Joined:
    Jun 4, 2020
    Posts:
    5
    I'm testing unity purchasing process with In App Purchase(from Editor's Services) and Unity IAP(from Unity's official Asset).
    I have strange problem on Xperia 5(J9210) when enable STAMINA Mode and Game Enhancer, when I press purchase button, Google Play's payment window will not complete show .
    (it looks still network connecting...)
    -----
    ☑STAMINA Mode & ☑Game Enhancer:Can't purchase
    ☑STAMINA Mode & ☐Game Enhancer:Can purchase
    ☐STAMINA Mode & ☑Game Enhancer:Can purchase
    ☐STAMINA Mode & ☐Game Enhancer:Can purchase
    -----

    This problem can see on empty project, using In App Purchase and Unity IAP(Codeless IAP).
    I'm seeing this problem any versions of In App Purchase and Unity IAP and Xperia system software.
    Please help me...
    (If you have any Xperia, please try it.)
     

    Attached Files:

  2. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
  3. hyonsu_cho

    hyonsu_cho

    Joined:
    Jun 4, 2020
    Posts:
    5
    Thank you for your confirmation and sorry for late reply.

    Here is my test log when purchase success and failed(purchase start process not complete).
    I got this logs from "adb logcat" with out "-s Unity", because there is no Unity logs.

    I think it's relative to "gms auth", so I tried to set up Google Play Game Service this morning, but it looks no effect.
     

    Attached Files:

  4. hyonsu_cho

    hyonsu_cho

    Joined:
    Jun 4, 2020
    Posts:
    5
    Here is a movie when purchase is incomplete.
    I hope this helps you.
     

    Attached Files:

  5. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    Have you tried with another Android device? The logs show that IAP is not present. You may need to exclude this device.
     
  6. hyonsu_cho

    hyonsu_cho

    Joined:
    Jun 4, 2020
    Posts:
    5
    Thank you for your confirmation.

    Yes, I tried with another Android device's battery saving mode, but there are no problem.
    I'm having problems only with this device.

    If I want to fix it, I need to implement purchasing other way?
     
  7. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    Yes, most likely, but I would not have specific recommendations. Keep in mind that the market share for this phone appears to be very small and getting smaller.
     
  8. hyonsu_cho

    hyonsu_cho

    Joined:
    Jun 4, 2020
    Posts:
    5
    OK, thank you for your reply.