Inventory Pro : Problem with the Integration

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Molina
Posts: 7
Joined: Mon Jan 15, 2018 4:25 pm

Inventory Pro : Problem with the Integration

Post 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 ?
User avatar
Tony Li
Posts: 22108
Joined: Thu Jul 18, 2013 1:27 pm

Re: Inventory Pro : Problem with the Integration

Post 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.
Molina
Posts: 7
Joined: Mon Jan 15, 2018 4:25 pm

Re: Inventory Pro : Problem with the Integration

Post 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...
Molina
Posts: 7
Joined: Mon Jan 15, 2018 4:25 pm

Re: Inventory Pro : Problem with the Integration

Post by Molina »

I solve the problem !
I move the script in the "asset root"... and now it's working.

Thank you Tony !
User avatar
Tony Li
Posts: 22108
Joined: Thu Jul 18, 2013 1:27 pm

Re: Inventory Pro : Problem with the Integration

Post 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.
Post Reply