Page 1 of 1

Invector Assembly References?

Posted: Wed Mar 06, 2024 11:43 am
by wakagana
I'm new to programming and I've been having issues with combining Invector and DS in unity 2023

(Things I've already trouble-shot based on what I've looked up.)
I am using New Input (Both also had the same issue)

Both the scripting symbols are defined

USE_NEW_IMPORT
USE_INVECTOR_FREE

I have imported both the Invector Support's from Common and Dialogue System folders.


Image

It looks like it's a script problem, but I have no idea where to even begin or what I should be changing to fix the assemblies?

Dialogue System Invector Bridge isn't showing up under components either, but I'm going to assume it's because of the above issues.
(step 5 of Invector Third Person Controller Support)

Re: Invector Assembly References?

Posted: Wed Mar 06, 2024 12:24 pm
by Tony Li
Hi,

If you're not using the free Invector controller asset, please remove USE_INVECTOR_FREE from Project Settings > Player -> Other Settings > Scripting Define Symbols.

If that doesn't help, what Invector asset are you using? Can you provide a link to the Asset Store page for that asset?

Re: Invector Assembly References?

Posted: Wed Mar 06, 2024 6:51 pm
by wakagana
I'm using the basic free version of their locomotion and controller asset. https://assetstore.unity.com/packages/t ... free-82048

Is there a third Invector support package somewhere that I'm missing or something?

I've done this https://www.pixelcrushers.com/dialogue_ ... ector.html But like I've said, I can't get to step 5 due to the System Invector Bridge not being available along with the other errors.

Re: Invector Assembly References?

Posted: Wed Mar 06, 2024 9:37 pm
by Tony Li
Looks like they changed some things since the last time I checked the free version. Here are updated packages:

PixelCrushersCommon_InvectorSupport_2024-03-06.unitypackage

DS_InvectorSupport_2024-03-06.unitypackage

You'll find a "Free" subfolder inside the Example folder. This contains an example scene that works with the free version. The integration for the free version is necessarily not as extensive as the integration for the paid versions of Invector since the free Invector asset is quite limited.

Re: Invector Assembly References?

Posted: Thu Mar 07, 2024 4:38 am
by wakagana
Thank you, this is all working if I put it under 'at start' rather than on trigger, no issues, or errors.

On trigger however isn't working, as the selectable character doesn't highlight, regardless if the player character is near them, or hovering the mouse of them (with each of those options as a trigger being used separately)

Following the steps further in the tutorial is impossible - vTriggerGenericAction, and vActionText are non existent within assets.

It's safe to assume this is because the Lite version doesn't actually offer that?

Thank you for the help either way if you do know the information and if I'll need to purchase the full version of invector to get access to the integration with DS.

Re: Invector Assembly References?

Posted: Thu Mar 07, 2024 8:04 am
by Tony Li
Hi,

Yes, that's correct. The Lite version doesn't offer those features.

You should be able to run into the NPC to trigger the conversation. The Dialogue System Trigger is set to OnTriggerEnter. If it doesn't trigger, check the player's and NPC's layers (make sure they're layers that will register collisions) and set the player's Tag to Player.