# Cannot use learning agents due to Convai issues

**URL:** <https://forum.convai.com/t/cannot-use-learning-agents-due-to-convai-issues/2155>\
**Category:** Unity SDK\
**Tags:** question, unity\
**Created:** [November 15, 2024, 4:30pm UTC](https://forum.convai.com/t/cannot-use-learning-agents-due-to-convai-issues/2155 "2024-11-15T16:30:44Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [November 15, 2024, 4:30pm UTC](https://forum.convai.com/t/cannot-use-learning-agents-due-to-convai-issues/2155/1 "2024-11-15T16:30:44Z")

</div>

**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:**

 ![image.png](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/1X/ae69c12229163ac3ed85f4ccfcc51314d26d4f37.png)  
 ![image.png](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/1X/e3683c767ecc6ce8f836e38170cc6ca8085e67dc.png)

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [November 15, 2024, 4:50pm UTC](https://forum.convai.com/t/cannot-use-learning-agents-due-to-convai-issues/2155/2 "2024-11-15T16:50:54Z")

</div>

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

Hello \<@694680293516247061\>,

Unfortunately we can’t do anything for it.

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [November 15, 2024, 4:51pm UTC](https://forum.convai.com/t/cannot-use-learning-agents-due-to-convai-issues/2155/3 "2024-11-15T16:51:47Z")

</div>

**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?

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [November 15, 2024, 4:53pm UTC](https://forum.convai.com/t/cannot-use-learning-agents-due-to-convai-issues/2155/4 "2024-11-15T16:53:27Z")

</div>

**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.

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [November 15, 2024, 5:05pm UTC](https://forum.convai.com/t/cannot-use-learning-agents-due-to-convai-issues/2155/5 "2024-11-15T17:05:38Z")

</div>

**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?

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [November 15, 2024, 5:51pm UTC](https://forum.convai.com/t/cannot-use-learning-agents-due-to-convai-issues/2155/6 "2024-11-15T17:51:06Z")

</div>

**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.

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [November 25, 2024, 12:14pm UTC](https://forum.convai.com/t/cannot-use-learning-agents-due-to-convai-issues/2155/7 "2024-11-25T12:14:00Z")

</div>

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