Use the demo to see how catalog data becomes runtime Items, how those Items move through an Inventory, and how the UI, shop, crafting, and world interactions use the same data. Follow the route below once as an observer before adapting anything for the project.

Before you begin

The demo requires TextMesh Pro. If it is not installed, add it through the Unity Package Manager and import the required TMP resources when Unity prompts you.

The sample uses the Universal Render Pipeline. On another render pipeline, materials may appear incorrect and the camera may need adjustment before the scene is useful as a visual reference.

The demo depends on DemoInventoryDatabase. Its Character Stats, Item Upgrade Menu, Gate, character scripts, and some other objects exist to support the sample; they are not core UIS components intended for production reuse. Inspect the demo in place, then create or duplicate a database and prefabs into project-owned folders for real work.

Open the demo

  1. Open Tools > Opsive > Ultimate Inventory System > Main Manager.
  2. Select Setup and import the sample content if it is not already present.
  3. In Unity’s Project window, open Assets/Samples, expand the imported Opsive Ultimate Inventory System version, then open Demo/Demo.unity. If the version folder name differs, search under Assets/Samples for the Demo scene.
  4. Allow Unity to finish importing and compiling before entering Play Mode.

Follow the data through the editor

The demo’s exact Item names may differ from the standardized examples used elsewhere in this documentation. Use a demo consumable as the Health Potion role, and use demo weapons as the Iron Sword or Fire Wand roles.

1. Inspect the database and definitions

Open the Main Manager and confirm that the demo uses DemoInventoryDatabase. In the Item Definitions editor, select one consumable and one weapon. Check their Item Categories and inherited attributes rather than changing their values.

The UIS Item Definition editor with a definition selected and its category, attributes, and relationships visible.

This is the catalog side of the flow: the Database contains Categories and Definitions, and each Definition supplies the template for runtime Items.

2. Inspect the player Inventory

Select Player Character in the demo scene and find its Inventory component. Select the (Main) Main Item Collection to inspect carried Items. This collection serves the same role as Bag in the standardized examples.

Inspect the Equipped collection next. It serves the same role as Equipment and shows where an Iron Sword- or Fire Wand-style Item is stored after it is equipped.

3. Locate the runtime UI

Select the Inventory System Canvas GameObject. Its Display Panel Manager coordinates the gameplay and main-menu panels, while the child menus display the Inventory and related systems.

The UI does not create separate Item data. It reads Items from the player Inventory and selects the appropriate views and Item Actions for their Categories.

4. Locate the village systems

Expand World > Static Interactables to find the shop, crafting stable, storage, and other interactable examples. The village is the best place to observe buying and selling, moving Items between Inventories, upgrading, and crafting without combat pressure.

Use the shop as the Gold and Buy Price example: a Currency Owner supplies the player’s currency, while Item data supplies the price used by the shop. Use the crafting stable to observe a Crafting Recipe consume inputs and add its output to an Inventory.

5. Use Items in the forest

The forest demonstrates the runtime side of the same model. The player can retrieve loot, add it to the main collection, equip weapons, use Items, and fight bandits. Watch the Inventory rather than only the character animation so it is clear which collection owns each Item before and after an action.

Observe the runtime flow

Use existing demo Items for these checks; the standardized names describe their roles even when the demo uses different labels.

  1. Open the inventory UI and identify a Consumable Item that plays the Health Potion role.
  2. Use or move that Item and confirm that the amount or owning collection changes in the player Inventory.
  3. Equip a Weapon Item that plays the Iron Sword or Fire Wand role and confirm that it moves from (Main) Main to Equipped.
  4. Visit the shop and observe the player’s currency and the Item price before and after a transaction.
  5. Complete a simple crafting interaction and confirm that the ingredients decrease and the output appears in the Inventory.
  6. Collect loot in the forest and confirm that the new Item appears in the main collection and its UI.

Troubleshooting

  • The demo scene or menus are missing: Check whether the sample content was imported from Main Manager > Setup. Reimport the sample, then reopen the scene under Assets/Samples.
  • Text is missing or the UI reports TMP errors: Install TextMesh Pro and import its required resources, then reopen the scene.
  • Materials are pink or the view is framed incorrectly: Check the active render pipeline. The sample targets URP, so another pipeline needs compatible materials and may need camera adjustment.
  • An Item exists in the database but not in the UI: Select Player Character and check the Item Collection first. If the Item is present there, inspect the Inventory System Canvas and its data source.
  • The demo stopped working after edits: Restore or reimport the sample. Make changes in a duplicated project database and project-owned prefabs instead of DemoInventoryDatabase or the sample assets.

Next pages