Unity In-App Purchasing (Unity IAP) is provided as an official package through the Unity Package Manager. This guide explains how to install and verify the package before configuring your products.
Ensure you've completed the requirements listed in the Prerequisites guide.
Recommended:
- Unity 2022 LTS or newer
- Unity project created
- Unity account signed in
- Internet connection available
Launch Unity Hub and open the project where you want to implement In-App Purchases.
Wait until the project finishes importing before proceeding.
In the Unity Editor, navigate to:
Window
└── Package Manager
The Package Manager allows you to install official Unity packages.
At the top-left of the Package Manager window:
Packages:
▼ Unity Registry
Selecting Unity Registry displays all official Unity packages.
Use the search box and type:
In-App Purchasing
Select the package published by Unity Technologies.
Click:
Install
Unity will automatically download and install:
- Unity IAP
- Required dependencies
- Unity Gaming Services components (if needed)
Wait until installation completes.
Some Unity versions recommend restarting the Editor after installation.
If prompted:
Save Project
↓
Restart Unity
This ensures all package dependencies are initialized correctly.
Open the Package Manager again.
Locate:
In-App Purchasing
You should see:
- Installed
- Current package version
- Documentation links
- Package information
If the package appears as installed, Unity IAP is ready to use.
Navigate to:
Window
└── General
└── Services
If the Services window opens successfully, your project is ready for Unity Gaming Services configuration.
We'll configure these services in the next guide.
Possible causes:
- Unity Registry not selected
- No internet connection
- Package Manager failed to refresh
Solution:
- Refresh Package Manager
- Restart Unity
- Check your internet connection
Possible causes:
- Firewall restrictions
- Proxy configuration
- Unity Package Server unavailable
Solution:
- Restart Unity
- Retry installation
- Update Unity Hub
If Unity reports missing dependencies:
- Close Unity
- Reopen the project
- Allow Package Manager to resolve dependencies automatically
After installation, confirm the following:
- Unity IAP package installed
- No Package Manager errors
- Unity project opens normally
- Services window available
- Console has no package-related errors
If all items are checked, you're ready to configure Unity Gaming Services.
Installing Unity IAP adds the purchasing framework to your project, but purchases won't work until Unity Gaming Services is connected.
The next guide explains how to link your Unity project with Unity Gaming Services and prepare it for creating store products.
You can also jump to any section of the guide: