Page 1 of 1

Invector inventory

Posted: Tue Mar 22, 2022 7:12 pm
by jawgearz
Hi I can seem to add the invector inventory saver to my player. I add the script define symbol USE_INVECTOR_INVENTORY in the player settings. When I try to add the script it say can't add script component because script class can't be found. I'm using invector 2.6.1b

Re: Invector inventory

Posted: Tue Mar 22, 2022 8:03 pm
by Tony Li
Hi,

If you're using Unity 2021, you may have seen this message in the Console:

Class InvectorInventorySaver can not exist in multiple namespaces in the same file, even if one is excluded with preprocessor directives. Please move these to separate files if this is the case.

This is due to a change in Unity 2021. Please use this updated Common/Third Party Support package, which will also be in the next Quest Machine version, releasing later this week:

Invector_Support.unitypackage

Re: Invector inventory

Posted: Tue Mar 22, 2022 8:32 pm
by jawgearz
Tony you are a good man that works perfectly now. Thank you

Re: Invector inventory

Posted: Tue Mar 22, 2022 8:37 pm
by Tony Li
Happy to help!