Search Unity

Official IAP Troubleshooting - Remove and Reinstall Unity IAP

Discussion in 'Unity IAP' started by ap-unity, Jan 9, 2018.

Thread Status:
Not open for further replies.
  1. ap-unity

    ap-unity

    Unity Technologies

    Joined:
    Aug 3, 2016
    Posts:
    1,519
    The Manual covers how to add Unity IAP into your project:
    https://docs.unity3d.com/Manual/UnityIAPSettingUp.html

    However, there are some times when you want/need to remove Unity IAP and reinstall it. The process is pretty straightforward, but there are a couple of places for possible issues.

    First of all, Unity IAP may not install correctly if there are any compiler errors in your project.

    1. To start, if you want to remove Unity IAP, there are actually two folders you would need to remove from the Plugins folder:
    /Plugins/UnityPurchasing/
    /Plugins/UnityChannel/

    1.png

    2. After that, you should see the Services window change from "Reimport" to "Import".

    2.png
    3. Clicking Import will bring up the prompt to install Unity IAP.
    3.PNG

    4. Import the Unity IAP package.

    4.PNG
    5. You must update the API to fully install the package. (It is recommended to make a backup of your project just in case.)

    5.PNG

    After that is complete you should see the "Finished updating scripts / assemblies" in your console. (There may still be warnings about deprecated methods, but Unity IAP should still function correctly. And we are working on improving that.)
     
Thread Status:
Not open for further replies.