Cannot use learning agents due to Convai issues

Original Discord Post by maria0_04358 | 2024-11-15 16:30:44

I have successfully created MLagents in unity projects not containing Convai. However when trying to add in learning agents in projects using Convai, I get a few errors like this:
Library\PackageCache\com.unity.ml-agents\Runtime\Grpc\CommunicatorObjects\UnityToExternalGrpc.cs(126,25): error CS1069: The type name ‘ServerServiceDefinition’ could not be found in the namespace ‘Grpc.Core’. This type has been forwarded to assembly ‘Grpc.Core.Api, Version=2.0.0.0, Culture=neutral, PublicKeyToken=d754f35622e28bad’ Consider adding a reference to that assembly.
When I check the Grpc.Core.dll version in my project containing Convai it is 2.26.0.0.
However in order for the ml agents to work it needs to be 1.10.0.0.
is there a way to change this so that both will work in the same project?

Images:


Reply by k3kalinix | 2024-11-15 16:50:54

Hello <@694680293516247061>,

Unfortunately we can’t do anything for it.

Replying to k3kalinix’s Message

Reply by k3kalinix | 2024-11-15 16:50:54
Hello <@694680293516247061>,

Unfortunately we can’t do anything for it.

Reply by maria0_04358 | 2024-11-15 16:51:47

is there another way to get both working?

Reply by k3kalinix | 2024-11-15 16:53:27

MLAgent is not a widely used Package.
Unfortunately, we cannot do anything at the moment. However, we can provide Dedicated Support for our Partner/Enterprise customers.

Replying to k3kalinix’s Message

Reply by k3kalinix | 2024-11-15 16:53:27
MLAgent is not a widely used Package.
Unfortunately, we cannot do anything at the moment. However, we can provide Dedicated Support for our Partner/Enterprise customers.

Reply by maria0_04358 | 2024-11-15 17:05:38

is it confirmed that mlagents does not work alongside convai? I thought that it may be because of an issue caused by me?

Replying to maria0_04358’s Message

Reply by maria0_04358 | 2024-11-15 17:05:38
is it confirmed that mlagents does not work alongside convai? I thought that it may be because of an issue caused by me?

Reply by k3kalinix | 2024-11-15 17:51:06

No, i cant confirm.

This conversation happened on the Convai Discord Server, so this post will be closed.