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
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

Question IAP 4 not working after update

Discussion in 'Unity IAP' started by unitycodergp, Oct 4, 2022.

  1. unitycodergp

    unitycodergp

    Joined:
    Feb 1, 2017
    Posts:
    47
    Hi,

    Version : Unity 2021.1.11f1

    Everything is working in IAP 3.2.3 version but if I switch to 4.5.0 application crashes at startup:

    Consumer closed input channel or an error occurred. events=0x9
    Channel is unrecoverably broken and will be disposed!

    Thx
     
  2. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    What device are you testing on, can you provide steps to reproduce, starting with a new project? That does not sound like an IAP error, I did find these using Google https://stackoverflow.com/questions...input-channel-or-an-error-occurred-events-0x8 and https://forum.unity.com/threads/con...annel-or-an-error-occurred-events-0x9.789329/
     
  3. unitycodergp

    unitycodergp

    Joined:
    Feb 1, 2017
    Posts:
    47
  4. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    Sorry, that would not be actionable. Please provide more information, as requested. I've viewed some of your other posts and I understand that you are a bit frustrated, sorry about that. But to address your issue, we would need more information. What device are you seeing this error, Android or iOS? Did the links I shared look to be relevant?
     
  5. unitycodergp

    unitycodergp

    Joined:
    Feb 1, 2017
    Posts:
    47
    Android
    Redmi Note 7

    I already read your posts before creating my message and they don't fit my problem.

    Until now I had no problem with Unity but for several months now it doesn't stop.

    I tried to switch to Unity 2021.3 but I have an unresolved keystore problem and I haven't gone any further for now.

    I have a game used by thousands of users that I unfortunately can't bring into compliance with the many new Google Play Store rules.
     
  6. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    Understood. Unfortunately there is no immediate action we can take with this information. Perhaps if someone else sees this thread and has the issue, they can provide more information and steps to reproduce. In the meantime, you might want to compare your code to the Sample IAP Project, which is working with 4.5.0 for me. The device logs may provide more information too. Does this phone have the Google Play Store installed? You might also try with a non-Xiaomi device too https://forum.unity.com/threads/sample-iap-project.529555/#post-8432501 and https://forum.unity.com/threads/how-to-capturing-device-logs-on-android.528680/