Invector inventory

Announcements, support questions, and discussion for Quest Machine.
Post Reply
jawgearz
Posts: 11
Joined: Tue Jan 22, 2019 1:22 pm

Invector inventory

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

Re: Invector inventory

Post 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
jawgearz
Posts: 11
Joined: Tue Jan 22, 2019 1:22 pm

Re: Invector inventory

Post by jawgearz »

Tony you are a good man that works perfectly now. Thank you
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: Invector inventory

Post by Tony Li »

Happy to help!
Post Reply