Page 1 of 1
Error with Inventory Engine Lua functions
Posted: Thu Apr 20, 2023 12:37 pm
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 (40.17 KiB) Viewed 262 times
This happened after a fresh import of both Corgi and DS into a new project.
Re: Error with Inventory Engine Lua functions
Posted: Thu Apr 20, 2023 1:13 pm
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?
Re: Error with Inventory Engine Lua functions
Posted: Thu Apr 20, 2023 1:27 pm
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
Re: Error with Inventory Engine Lua functions
Posted: Thu Apr 20, 2023 1:46 pm
by Tony Li
Glad to help!