Error with Inventory Engine Lua functions

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
lostmushroom
Posts: 195
Joined: Mon Jul 01, 2019 1:21 pm

Error with Inventory Engine Lua functions

Post by lostmushroom »

Hey Tony. I just tried the mmAddItem function in my scene and got a few errors. I noticed these errors are showing up in the Corgi Inventory Example as well.
ErrorsMM.JPG
ErrorsMM.JPG (40.17 KiB) Viewed 261 times
This happened after a fresh import of both Corgi and DS into a new project.
User avatar
Tony Li
Posts: 22131
Joined: Thu Jul 18, 2013 1:27 pm

Re: Error with Inventory Engine Lua functions

Post by Tony Li »

Hi,

The Corgi Inventory Example appears to work correctly.

Did you add an InventoryEngineLua component to your Dialogue Manager?

Are there any other errors or warnings in your Console window or on your Dialogue Manager GameObject?
lostmushroom
Posts: 195
Joined: Mon Jul 01, 2019 1:21 pm

Re: Error with Inventory Engine Lua functions

Post by lostmushroom »

It was the Dialogue Manager, it was missing that script. Could be because I installed the corgi support and opened the scene before installing the inventory engine support?

Anyway, all working now, thanks :)
User avatar
Tony Li
Posts: 22131
Joined: Thu Jul 18, 2013 1:27 pm

Re: Error with Inventory Engine Lua functions

Post by Tony Li »

Glad to help!
Post Reply