Opsive UCC and UIS doesnt find the Inventory
Posted: Tue Apr 09, 2024 4:07 pm
Hi all,
I have a Unity game using the Opsive UCC and UIS. I'm using the UIS DS Demo Database, and talking to the Guide, who offers me a Great Sword. The Great Sword is in my UIS Item Definitions Manager.
The dialogue triggers fine, but when the Dialogue Manager get to the
script, I get an error that it cant find my Inventory;
Yeah, I have the Inventory Component added to the player, so did I miss something at setup?
I have a Unity game using the Opsive UCC and UIS. I'm using the UIS DS Demo Database, and talking to the Guide, who offers me a Great Sword. The Great Sword is in my UIS Item Definitions Manager.
The dialogue triggers fine, but when the Dialogue Manager get to the
Code: Select all
uisGetItemAmount("Great Sword", "") == 0
script, I get an error that it cant find my Inventory;
Code: Select all
Dialogue System: Can't find Inventory on 'Player 1'.
UnityEngine.Debug:LogWarning (object,UnityEngine.Object)
PixelCrushers.UISSupport.UISLua:GetInventory (string) (at Assets/Pixel Crushers/Dialogue System/Third Party Support/Opsive UIS Support/Scripts/UISLua.cs:174)