# Installation trouble

**URL:** <https://forum.convai.com/t/installation-trouble/1673>\
**Category:** Unity SDK\
**Tags:** question, unity, vr\
**Created:** [September 13, 2024, 7:25pm UTC](https://forum.convai.com/t/installation-trouble/1673 "2024-09-13T19:25:50Z")\
**Posts on this page:** 20\
**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:** [September 13, 2024, 7:25pm UTC](https://forum.convai.com/t/installation-trouble/1673/1 "2024-09-13T19:25:50Z")

</div>

**Original Discord Post by charlieg5733 | 2024-09-13 19:25:50**

I am really keen to get the convai sdk working in Unity for VR. I have a number of issues when I try and install it through package manager. I get an error from the readyplayermeimporter script every time I add the package, even in a fresh project. If I delete that script I can proceed but get other errors when trying to add the VR package.

---

<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:** [September 13, 2024, 7:26pm UTC](https://forum.convai.com/t/installation-trouble/1673/2 "2024-09-13T19:26:33Z")

</div>

**Reply by k3kalinix | 2024-09-13 19:26:33**

Hello \<@1050505151674323004\> 👋🏻

---

<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:** [September 13, 2024, 7:26pm UTC](https://forum.convai.com/t/installation-trouble/1673/3 "2024-09-13T19:26:38Z")

</div>

**Reply by k3kalinix | 2024-09-13 19:26:38**

Welcome to Convai Community!

---

<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:** [September 13, 2024, 7:28pm UTC](https://forum.convai.com/t/installation-trouble/1673/4 "2024-09-13T19:28:18Z")

</div>

**Reply by k3kalinix | 2024-09-13 19:28:18**

```cs
using System;
using Convai.Scripts.Runtime.LoggerSystem;
using UnityEditor;
using UnityEditor.PackageManager.Requests;
using Random = UnityEngine.Random;
#if !READY_PLAYER_ME
using UnityEditor.PackageManager;
using UnityEditor.PackageManager.Requests;
#endif

namespace Convai.Scripts.Editor.CustomPackage
{
    [InitializeOnLoad]
    public class ReadyPlayerMeImporter
    {
        private static AddRequest _request;

        static ReadyPlayerMeImporter()
        {
#if !READY_PLAYER_ME
        ConvaiLogger.DebugLog("Ready Player Me is not installed, importing it", ConvaiLogger.LogCategory.Editor);
        _request = Client.Add("https://github.com/readyplayerme/rpm-unity-sdk-core.git");
        EditorUtility.DisplayProgressBar("Importing Ready Player Me", "Importing.....", Random.Range(0,1f));
        EditorApplication.update += UnityEditorUpdateCallback;

#endif
        }

#if !READY_PLAYER_ME
        private static void UnityEditorUpdateCallback()
        {
            if (_request == null) return;
            if (!_request.IsCompleted) return;
            switch (_request.Status)
            {
                case StatusCode.Success:
                    ConvaiLogger.DebugLog( "Ready Player Me has been imported successfully", ConvaiLogger.LogCategory.Editor);
                    break;
                case StatusCode.Failure:
                    ConvaiLogger.Error($"Ready Player Me has failed to import: {_request.Error.message}", ConvaiLogger.LogCategory.Editor);
                    break;
                case StatusCode.InProgress:
                    ConvaiLogger.DebugLog("Ready Player Me is still importing...", ConvaiLogger.LogCategory.Editor);
                    break;
                default:
                    throw new ArgumentOutOfRangeException();
            }
            EditorApplication.update -= UnityEditorUpdateCallback;
            EditorUtility.ClearProgressBar();
        }
#endif
    }
}

```

Assets\Convai\Scripts\Editor\CustomPackage\ReadyPlayerMeImporter.cs

---

<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:** [September 13, 2024, 7:28pm UTC](https://forum.convai.com/t/installation-trouble/1673/5 "2024-09-13T19:28:26Z")

</div>

**Reply by k3kalinix | 2024-09-13 19:28:26**

Could you update this script with this code?

---

<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:** [September 14, 2024, 7:06am UTC](https://forum.convai.com/t/installation-trouble/1673/6 "2024-09-14T07:06:33Z")

</div>

**Reply by charlieg5733 | 2024-09-14 07:06:33**

Thank you that seems to have fixed that issue, I do now have some other errors…When I added the VR package I have the “Assets\Convai\Scripts\Runtime\Core\ConvaiInputManager.cs(14,11): error CS0535: ‘ConvaiInputManager’ does not implement interface member ‘Controls.IPlayerActions.OnEnterPress(InputAction.CallbackContext)’”

---

<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:** [September 14, 2024, 7:47am UTC](https://forum.convai.com/t/installation-trouble/1673/7 "2024-09-14T07:47:16Z")

</div>

**Reply by k3kalinix | 2024-09-14 07:47:16**

Hello \<@1050505151674323004\>,

---

<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:** [September 14, 2024, 7:48am UTC](https://forum.convai.com/t/installation-trouble/1673/8 "2024-09-14T07:48:49Z")

</div>

**Reply by k3kalinix | 2024-09-14 07:48:49**

Double click on this error and replace the code with this one (Line 167)

```cs
if (Input.GetKeyDown(TextSendKey) || Input.GetKeyDown(TextSendAltKey)) sendText?.Invoke();

```

---

<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:** [September 14, 2024, 8:19am UTC](https://forum.convai.com/t/installation-trouble/1673/9 "2024-09-14T08:19:09Z")

</div>

**Reply by charlieg5733 | 2024-09-14 08:19:09**

Thanks , I now get a number of errors saying Assets\Convai\Scripts\Editor\Setup\CharacterImporter\CharacterImporterLogic.cs(3,7): error CS0246: The type or namespace name ‘ReadyPlayerMe’ could not be found (are you missing a using directive or an assembly reference?) (prior to adding VR package )I also get this error at runtime \<color=red\>[Error][GRPC]: failed: 500 (Internal Server Error)  
[Stack Trace - Method: MoveNext, at Line: 172 in File: E:\Unity Projects\convai test2\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:93)  
Convai.Scripts.Runtime.LoggerSystem.ConvaiLogger:Error (string,Convai.Scripts.Runtime.LoggerSystem.ConvaiLogger/LogCategory,object) (at Assets/Convai/Scripts/Runtime/LoggerSystem/ConvaiLogger.cs:140)  
Convai.Scripts.Runtime.PlayerStats.API.LongTermMemoryAPI/d\_\_14:MoveNext () (at Assets/Convai/Scripts/Runtime/PlayerStats/API/LongTermMemoryAPI.cs:172)  
UnityEngine.UnitySynchronizationContext:ExecuteTasks ()

---

<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:** [September 14, 2024, 8:19am UTC](https://forum.convai.com/t/installation-trouble/1673/10 "2024-09-14T08:19:34Z")

</div>

**Reply by k3kalinix | 2024-09-14 08:19:34**

restart the project

---

<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:** [September 14, 2024, 8:30am UTC](https://forum.convai.com/t/installation-trouble/1673/11 "2024-09-14T08:30:30Z")

</div>

**Reply by charlieg5733 | 2024-09-14 08:30:30**

ok, restarting now, asking me to enter safe mode

---

<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:** [September 14, 2024, 8:30am UTC](https://forum.convai.com/t/installation-trouble/1673/12 "2024-09-14T08:30:48Z")

</div>

**Reply by k3kalinix | 2024-09-14 08:30:48**

Ignore

---

<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:** [September 14, 2024, 8:31am UTC](https://forum.convai.com/t/installation-trouble/1673/13 "2024-09-14T08:31:22Z")

</div>

**Reply by charlieg5733 | 2024-09-14 08:31:22**

it has loaded

---

<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:** [September 14, 2024, 8:31am UTC](https://forum.convai.com/t/installation-trouble/1673/14 "2024-09-14T08:31:33Z")

</div>

**Reply by k3kalinix | 2024-09-14 08:31:33**

Please share screenshot

---

<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:** [September 14, 2024, 8:32am UTC](https://forum.convai.com/t/installation-trouble/1673/15 "2024-09-14T08:32:05Z")

</div>

**Reply by charlieg5733 | 2024-09-14 08:32:05**

**Images:**

 ![image.png](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/2X/e/ea0cf108b8a66819cc35691b228aab3e124bc3bc.jpeg)

---

<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:** [September 14, 2024, 8:32am UTC](https://forum.convai.com/t/installation-trouble/1673/16 "2024-09-14T08:32:49Z")

</div>

**Reply by k3kalinix | 2024-09-14 08:32:49**

> **[Ready Player Me Avatar and Character Creator | Game Toolkits | Unity Asset Store](https://assetstore.unity.com/packages/tools/game-toolkits/ready-player-me-avatar-and-character-creator-259814)**
>
> Get the Ready Player Me Avatar and Character Creator package from Ready Player Me and speed up your game development process. Find this & other Game Toolkits options on the Unity Asset Store.

**Embedded Content:**  
**Ready Player Me Avatar and Character Creator | Game Toolkits | Unit…**  
Get the Ready Player Me Avatar and Character Creator package from Ready Player Me and speed up your game development process. Find this & other Game Toolkits options on the Unity Asset Store.  
Link: [Ready Player Me Avatar and Character Creator | Game Toolkits | Unity Asset Store](https://assetstore.unity.com/packages/tools/game-toolkits/ready-player-me-avatar-and-character-creator-259814)

 ![Thumbnail](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/2X/6/67966703777d46db508cf24bda61b417dd5860b5.jpeg)

---

<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:** [September 14, 2024, 8:32am UTC](https://forum.convai.com/t/installation-trouble/1673/17 "2024-09-14T08:32:53Z")

</div>

**Reply by k3kalinix | 2024-09-14 08:32:53**

Can you import this asset?

---

<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:** [September 14, 2024, 8:34am UTC](https://forum.convai.com/t/installation-trouble/1673/18 "2024-09-14T08:34:12Z")

</div>

**Reply by k3kalinix | 2024-09-14 08:34:12**

It looks like Ready Player Me was not automatically added to your project.

---

<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:** [September 14, 2024, 8:34am UTC](https://forum.convai.com/t/installation-trouble/1673/19 "2024-09-14T08:34:15Z")

</div>

**Reply by charlieg5733 | 2024-09-14 08:34:15**

doing that now

---

<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:** [September 14, 2024, 8:40am UTC](https://forum.convai.com/t/installation-trouble/1673/20 "2024-09-14T08:40:32Z")

</div>

**Reply by charlieg5733 | 2024-09-14 08:40:32**

so that has fixed those errors, but I still get this when entering play mode \<color=red\>[Error][GRPC]: 500 (Internal Server Error)  
[Stack Trace - Method: MoveNext, at Line: 172 in File: E:\Unity Projects\convai test2\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:93)  
Convai.Scripts.Runtime.LoggerSystem.ConvaiLogger:Error (string,Convai.Scripts.Runtime.LoggerSystem.ConvaiLogger/LogCategory,object) (at Assets/Convai/Scripts/Runtime/LoggerSystem/ConvaiLogger.cs:140)  
Convai.Scripts.Runtime.PlayerStats.API.LongTermMemoryAPI/d\_\_14:MoveNext () (at Assets/Convai/Scripts/Runtime/PlayerStats/API/LongTermMemoryAPI.cs:172)  
UnityEngine.UnitySynchronizationContext:ExecuteTasks ()

[Next page](https://forum.convai.com/t/installation-trouble/1673.md?page=2)
