Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Unity IAP crash when use async/await

Discussion in 'Unity IAP' started by Ichimitsu, Jul 13, 2019.

  1. Ichimitsu

    Ichimitsu

    Joined:
    Oct 9, 2014
    Posts:
    18
    Hello! We encountered a problem while using Unity IAP. IAP crashes when using async / await. Before initializing the plugin, we check access to the Internet, this is done through the asynchronous method (Task.Run is not used). If, after await, IAP is initialized, then the application crashes in Android (there are no exceptions in the Android monitor).

    Android version 7.0, Unity version 2018.4.3f1
     
  2. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    7,455
    Please provide steps to reproduce on a new project. Consider reproducing with the IAP Sample Project listed on this forum.
     
unityunity