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’re making changes to the Unity Runtime Fee pricing policy that we announced on September 12th. Access our latest thread for more information!
    Dismiss Notice
  3. Dismiss Notice

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,516
    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.