Search Unity

  1. Unity 2018.3 is now released.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We've updated our Terms of Service. Please read our blog post from Unity CTO and Co-Founder Joachim Ante here
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

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,069
    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.)
     
    MichiealO and unityjingyao like this.
Thread Status:
Not open for further replies.