Page 1 of 1

Inventory Pro : Problem with the Integration

Posted: Wed Dec 26, 2018 1:36 pm
by Molina
Hi Tony,
Merry Christmas !!!!!!

I just bought your asset, and I'm trying to integrate it into my project. I already had inventory pro. So, I follow this "tuto" https://inventory-pro-docs.readthedocs. ... ngStarted/

I downloaded your asset, (it's ok). And I tried to put the "InventoryManagerDialogueSystem" into my "_Manager" But, I have this error : "Can't add script component " InventoryManagerDialogueSystem" because the script class cannot be found. Make sure that there are no compile errors and that the file name and class name match".

The class name is " public class InventoryManagerDialogueSystem : MonoBehaviour" And I don't see the difference with the name of the files.

I miss something ?

Re: Inventory Pro : Problem with the Integration

Posted: Wed Dec 26, 2018 1:59 pm
by Tony Li
Hi,

Merry Christmas! And thanks for buying the Dialogue System!

The Dialogue System has an updated support package for Inventory Pro. You can find it in Assets / Plugins / Pixel Crushers / Dialogue System / Third Party Support. Please try importing this package, and then use the steps here:

https://www.pixelcrushers.com/dialogue_ ... y_pro.html

If you run into any issues, just let me know. I'm here to help.

Re: Inventory Pro : Problem with the Integration

Posted: Wed Dec 26, 2018 2:20 pm
by Molina
Image
Thank you Tony for your answer !
Yeah, when I run the example scene "Quest example DS2"
The same script is missing, and I can't add the script "InventoryManagerDialogueSystem".
Very sorry, I'm sure I did something wrong...

Re: Inventory Pro : Problem with the Integration

Posted: Wed Dec 26, 2018 2:31 pm
by Molina
I solve the problem !
I move the script in the "asset root"... and now it's working.

Thank you Tony !

Re: Inventory Pro : Problem with the Integration

Posted: Wed Dec 26, 2018 2:38 pm
by Tony Li
Hi,

If you move it back, it will probably still work. I just had the same problem. The file needed to be recompiled. When you move a file, Unity recompiles it. Instead of moving it, I right-clicked it and selected "Reimport". This also worked.