New Update integration into existing Unity Project

Reply by luc118 | 2024-09-03 15:48:21

I added this new folder file, I am still confused on what to do with the provided code file you sent.

Reply by k3kalinix | 2024-09-03 15:48:37

it is a seperated script

Reply by k3kalinix | 2024-09-03 15:49:06

Just important this player stats

Reply by luc118 | 2024-09-03 15:49:41

I have and received these new errors:

Assets\Convai\Scripts\Runtime\Features\LongTermMemory\ConvaiLTMController.cs(3,30): error CS0234: The type or namespace name ‘Core’ does not exist in the namespace ‘Convai.Scripts.Runtime’ (are you missing an assembly reference?)

Assets\Convai\Scripts\Runtime\PlayerStats\PlayerStats\API\LongTermMemoryAPI.cs(7,30): error CS0234: The type or namespace name ‘LoggerSystem’ does not exist in the namespace ‘Convai.Scripts.Runtime’ (are you missing an assembly reference?)

Assets\Convai\Scripts\Runtime\PlayerStats\PlayerStats\ConvaiPlayerDataHandler.cs(3,30): error CS0234: The type or namespace name ‘LoggerSystem’ does not exist in the namespace ‘Convai.Scripts.Runtime’ (are you missing an assembly reference?)

Assets\Convai\Scripts\Runtime\PlayerStats\PlayerStats\ConvaiPlayerDataSO.cs(2,30): error CS0234: The type or namespace name ‘Attributes’ does not exist in the namespace ‘Convai.Scripts.Runtime’ (are you missing an assembly reference?)

Reply by k3kalinix | 2024-09-03 15:50:09

I understand, unfortunately it seems difficult to move it.

Reply by luc118 | 2024-09-03 15:51:12

Yes I understand. In regards to the errors involving differing GUID’s for certain things, do you think it would be easier for my to simply re-import everything and fix the errors that come with that?

Reply by k3kalinix | 2024-09-03 15:51:46

Namespaces have been updated in this update. So maybe you can remove these namespaces.

Reply by k3kalinix | 2024-09-03 15:53:46

I think you should open a new project and look at the errors, add them from the new project to your project.

Reply by luc118 | 2024-09-03 15:55:16

I have removed a using directive that was causing an error. As seen in the screenshot the ConvAIAPIKEYSetup method is causing the errors, would there not be a using directive i could add to the code or a quick fix to solve it? I know that it is an existing method within my project as other scripts get the API key.

This is the error: The name ‘ConvaiAPIKeySetup’ does not exist in the current contextCS0103

Images:

Reply by k3kalinix | 2024-09-03 15:56:59

Yes, could you please show me your ConvaiAPIKeySetup.cs

Reply by luc118 | 2024-09-03 15:57:46

Images:

Reply by k3kalinix | 2024-09-03 15:58:22

using Convai.Scripts.Runtime.Utils

Reply by k3kalinix | 2024-09-03 15:58:30

add this to LTM script.

Reply by luc118 | 2024-09-03 16:00:09

That fixed the errors for the ConvAILTMController.cs script, thank you

Reply by luc118 | 2024-09-03 16:00:28

There are more now for a dif script:

Assets\Convai\Scripts\Runtime\PlayerStats\PlayerStats\API\LongTermMemoryAPI.cs(7,30): error CS0234: The type or namespace name ‘LoggerSystem’ does not exist in the namespace ‘Convai.Scripts.Runtime’ (are you missing an assembly reference?)

Assets\Convai\Scripts\Runtime\PlayerStats\PlayerStats\ConvaiPlayerDataHandler.cs(3,30): error CS0234: The type or namespace name ‘LoggerSystem’ does not exist in the namespace ‘Convai.Scripts.Runtime’ (are you missing an assembly reference?)

Assets\Convai\Scripts\Runtime\PlayerStats\PlayerStats\ConvaiPlayerDataSO.cs(2,30): error CS0234: The type or namespace name ‘Attributes’ does not exist in the namespace ‘Convai.Scripts.Runtime’ (are you missing an assembly reference?)

Images:

Reply by k3kalinix | 2024-09-03 16:00:41

remove line 3

Reply by k3kalinix | 2024-09-03 16:00:47

add the same namespace here.

Reply by luc118 | 2024-09-03 16:02:48

That cleared the APIKeysetup error as well as the line 3 one, however, there are still errors for the references to ConvAILogger

Reply by luc118 | 2024-09-03 16:03:03

As seen in the screenshot^

Reply by k3kalinix | 2024-09-03 16:05:49

Can you hover your mouse over the ConvaiLogger?