Your First Inventory
Create one Health Potion definition, configure one Bag collection on a player, and verify the runtime Item without building equipment, shops, crafting, saving, or a custom UI.
Before you begin
- Complete Installing and Requirements.
- Create a project-owned folder for the database.
- Use a saved test scene.
Create the database
- Open Tools > Opsive > Ultimate Inventory System > Main Manager.
- Select Setup.
- Under Inventory System Database, select New and save
GameInventoryDatabasein the project folder created before opening the dialog. - Confirm that the new database remains selected.

The new database contains the broad All category with common Icon and Description definition attributes.
Create one category and definition
- Open Item Categories and add
Consumablebelow All. - Open Item Definitions and add
Health Potion. - Assign Consumable as its category.
- Set a clear Description and assign an Icon when an appropriate Sprite is available.
Do not add Attack, Durability, equipment, currency, or crafting data to this definition. The purpose of the first Item is to prove the catalog and Inventory connection.

Add the scene manager
- Return to Main Manager > Setup.
- Under Scene Setup, select Add Components.
- Select the generated
GameGameObject. - Confirm that Inventory System Manager > Database references
GameInventoryDatabase. - Keep Pre Evaluate Attributes enabled.
Use one active Inventory System Manager for this scene. The manager registers definitions; it does not own the player’s Bag.
Add the player Inventory
- Create an empty GameObject named
Player. - In Main Manager > Setup > Character Setup, assign Player and select Add Components.
- Confirm that Player has Inventory Identifier and Inventory. Keep the first stable Inventory Identifier ID at
1. - In Inventory > Item Collections, select the first collection that the Inspector created automatically.
- Rename that existing Item Collection to
Bagand retain its Main purpose. If you already added another collection, remove the unused empty default or ensure only Bag has Main purpose; adding another Main does not replace the first. - Under Bag’s starting Item Amounts, add one Health Potion with amount
1.

Editor checkpoint
Before Play Mode, confirm:
- Main Manager and Inventory System Manager reference
GameInventoryDatabase; - the database contains All, Consumable, and Health Potion;
- Health Potion uses Consumable;
- Player has Inventory Identifier ID
1and Inventory; - Bag is the only collection with Main purpose; and
- Bag starts with one Health Potion.
Verify in Play Mode
- Enter Play Mode.
- Select Player and inspect Inventory > Bag.
- Confirm that Bag’s runtime Item Stacks contain one Health Potion.
- Confirm that the runtime Item resolves the Health Potion definition, Consumable category, Description, and Icon value.
- Stop Play Mode and confirm that the authored starting amount remains
1rather than being replaced by the runtime list.
This is the first-success checkpoint: database registration created an Item from the definition and the player’s Main collection owns it.
Make one controlled change
Change the starting amount to 3 and test again. Bag should contain three Health Potion Items or one stack with amount three according to the collection’s stacking behavior. No UI is required to verify this data path.
Troubleshooting
| Symptom | Check | Fix |
|---|---|---|
| Health Potion is unavailable in the picker. | Selected database and definition category. | Select the same database in Main Manager and create/assign the definition there. |
| Bag is empty in Play Mode. | Starting Item Amounts and Bag initialization. | Add Health Potion to Bag’s authored Item Amounts and retest. |
| A database-null warning appears. | Inventory System Manager Database. | Assign GameInventoryDatabase through Setup or the component. |
| The Item enters another collection. | Main purpose and collection order. | Ensure Bag is the only collection with Main purpose. Rename/reuse the automatically created collection or remove the unused empty default, and use unique names. |
| An Item exists in edit mode but not runtime. | Console registration errors and duplicate names/IDs. | Fix the first manager error before editing Inventory UI. |
Use Getting Started Troubleshooting when the first failed data layer is unclear.
Next step
Continue with First Inventory UI, then read The Data Model at a Glance before expanding the catalog.