Critical error in LongTermMemoryAPI.cs?

I do not have LTM enabled.
[Exception][GRPC]: Exception caught: Value cannot be null.
Parameter name: value
[Stack Trace - Method: ExtractSpeakerIDFromResponse, at Line: 118 in File: E:\Project Files\VR Project 2 - Production URP\Assets\Convai\Scripts\Runtime\PlayerStats\API\LongTermMemoryAPI.cs]
UnityEngine.Debug:LogError (object)
Convai.Scripts.Runtime.LoggerSystem.ConvaiLogger:LogMessage (string,Convai.Scripts.Runtime.LoggerSystem.ConvaiLogger/LogLevel,Convai.Scripts.Runtime.LoggerSystem.ConvaiLogger/LogCategory,object) (at Assets/Convai/Scripts/Runtime/LoggerSystem/ConvaiLogger.cs:96)

Hello @Bob_Hawkey,

Could you please show me the PlayerDataSO? (Assets/Convai/Resources)

Um, the asset or the code? Oh, never mind. The asset is in Resources. Not sure what you need to see. There’s nothing there? Do I have to run the app to fill it in or something?

Please share a screenshot of this asset.

Please try unchecking the “Create Speaker ID If Not Found” checkbox and test again. Let us know if the issue persists!

1 Like

Will do! Thanks.

1 Like

My dear friend, that seems to have gotten rid of the error. Thank you so much! I should have been in touch sooner. My bad. You guys rock!

1 Like

Really looking forward to when Long Term Memory is re-introduced, it’s a popular request from users :slight_smile:

You can already test Long Term Memory in the Playground!

I will do, thanks @K3 Can you tell me please if it’s available yet more generally i.e. for end users of Convai based Unity apps? And if so is the Convai documentation on it up-to-date? If the answer is yes to these questions I’ll get to work on adding it to my app.

EDIT: woah just tested it in the Playground, worked great, so pleased, can’t wait to get this into my app when it’s generally available (I’m assuming it isn’t yet), great work guys :blush:

Thanks for your kind words!

You can already test Long Term Memory in Unity too. Just make sure to delete any older Speaker IDs listed under the LTM tab in the Convai Configuration Window.

Then, go to Assets/Convai/Resources/ConvaiPlayerDataSO.asset, enable the “Create Speaker ID If Not Found” option, and run your test again.

Let us know how it goes!

1 Like