Is it possible to make my Ready Player Me character my Convai Player Character (not an NPC). I’m using 7.3.1. I can add my NPCs fine, and I can add a RPM ThirdPerson fine as well. But can’t sync the RPM with the Convai Player. Any help would be great as this is part of master’s thesis.
Hello @bretthcook,
Yes, you can use your Ready Player Me (RPM) character as your Convai Player Character. Convai does not have any dependency restricting this setup. However, you need to ensure that the required components are properly configured.
Here’s how you can set it up:
- Add Components to Your RPM Player Character:
- Attach the following components to your RPM Player Character:
ConvaiNPCManager.cs
ConvaiGRPCAPI.cs
ConvaiPlayerDataHandler.cs
- Disable the Default Convai Player:
- Ensure that the default Convai Player provided in the sample scenes is disabled or removed, as Convai depends on the setup of these components for functionality.
Once this is done, your RPM character should function correctly as a Convai Player. Let me know if you encounter any issues or need further guidance!
Thanks! Where can I find the ConvaiPlayerDataHandler.cs script? I can find the other two in the Convai unity plugin that I have installed.
I started a fresh project and reinstalled, the Convai Player Data Handler is showing up now.
Not getting a successful run after adding components and disabling Convai character, then tried to run with Convai essentials disabled as well with no success.
Steps:
- Create new project
- Install Convai NPC AI Engine (Right now v. 3.2.1)
- Load API Key
- Load personal avatar into Scene through RPM
a. Add ConvaiNPCManager.cs
b. Add ConvaiGRPCAPI.cs
c. Add ConvaiPlayerDataHandler.cs - Disable the ConvaiEssentials Object
- Build and run using correct scene for a Windows build
- Run launches a blank unity scene
- Terminate and launch application directly, still get a blank screen
- Attempt to run game in unity directly
- Get the following errors:
- Remove RPM Character
- Run through Unity – works just fine
You should not disable the Convai Essentials. Instead, simply disable the ConvaiPlayer GameObject.
Still no success. Screens in order of presentation:
Convai Character Disabled
Convai Essentials Shown
RPM Character
RPM Inspector
Error Message
I don’t see a Camera in your player.
Going to take a break from this to come back later today
Started anew, added the RPM NPC with ConvaiNPC script, added a RPM Player with camera with the 3 scripts. Built but was static. Noticed the Convai Player had a Player movement script attached with camera assigned. Added the player movement script to my RPM player with a successful build and run, but the conversation dialogue box is not working. (Same result as in the core-api forum with regards to no dialogue box)
Collider added as we talked about in the core-api thread and this issue is fixed. The key was to add the playermovement script in addition to the other 3 I think.
PlayerMovement is not a dependency for Convai. Since you mentioned adding your own player, I didn’t recommend it earlier.
I’m glad to hear your issue is resolved! Let me know if you need further assistance.
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.