Create AI Characters in Unity | Convai Plugin Setup Tutorial [Part 1]
Вставка
- Опубліковано 18 кві 2023
- In this tutorial, we will show you how to import the Convai plugin into your Unity project and have a conversation with an NPC. We will guide you through the steps of setting up the plugin, including entering your API key, importing the package, and opening the test scene. We will also show you how to select your own character for the conversation.
Watch this tutorial to get started with the Convai plugin and start having conversations with your NPCs in Unity.
Unity Asset Store plugin link - assetstore.unity.com/packages...
Plugin and demo download link - docs.convai.com/api-docs/plug...
Sign up at convai.com to try it out.
Write to us at support@convai.com for any queries, bug reports, collab, or business-related engagement.
Follow us on your favorite platforms to stay in touch:
Discord: / discord
LinkedIn: / convaitech
Reddit: / convai
Twitter: / convaitech
Instagram: / conv.ai
Facebook: / convaiofficial
TikTok: / conv.ai
ArtStation: www.artstation.com/convai - Ігри
man this is incredible!!
Is it possible to upload this project file to Unity WebGL?
very helpful!
Hey! This is awesome! Is it possible to use a local LLM? And can this be used for 2D characters? I'd like to make a game in RPG Maker style, and have the NPCs powered by a chatbot of my own.
Looking great so far!, I manged to make it work the convai plugin and I see the menu option and installed my API key, now I have another problem: where is the convai streaming demo file? It looks like I can't locate the Convai streaming demo on the scenes folder as shown in the video, I see 2 files: convai demo and convai demo - mobile , is there any other folder called "scenes", the current folder structure there i'm finding this files is: assets/convai/scenes
Amazing!
Thank you!
When i import the file i got some errors like CSharp.dll will not loaded due to errors ,after i do built they are gone but the script class cannot be found, i don't know what to do next
Trying to implement it into my current project and getting the error message: Assets\Convai\Plugins\GLTFUtility\Scripts\Spec\GLTFAnimation.cs(37,18): error CS0246: The type or namespace name 'Required' could not be found (are you missing a using directive or an assembly reference?) I tried to follow the troubleshooting procedure you posted on one of the replies but still no luck. Any possibility of making a video tutorial on how to fix this issue to get this working?
Hello, please reach out to us at support@convai.com
Hello there ! Thank you for this tutotrial, quick question though : I got it working In Unity on the PC, but can it work on a Quest 2 standalone ? Is it possible to activate voice chat via the Oculus microphone ? Thanks in advance.
Hello please reach out to us on email to support@convai.com or for direct communication to discord: discord.gg/VBHFd7sFb8
Is there any way where the convai bot starts the conversation ?
Can't wait to test it out, does it save conversations? It's very important.
Yes, we do in chat history.
Could you import a AI from character ai and add that to a game?
Excellent! I would like to know if you are going to upload a video to solve the error that has been caused in unreal since the Plugin update (that the audio dictation does not work)
Hello, we have a troubleshoot guideline here docs.convai.com/api-docs/plugins-and-integrations/unity-plugin/troubleshooting
@@convai guideline does not solve audio error:
RpcException: Status(StatusCode=Cancelled, Detail="Received http2 header with status: 404")
Convai.gRPCAPI.ConvaiGRPCAPI.ProcessAudioChunk (Grpc.Core.AsyncDuplexStreamingCall`2[TRequest,TResponse] call, System.Int32 diff, System.Single[] audioData, System.Boolean enableTestMode, System.String testUserQuery) (at Assets/Convai/Scripts/Utils/ConvaiGRPCAPI.cs:339)
UnityEngine.Debug:LogException(Exception)
Convai.gRPCAPI.d__16:MoveNext() (at Assets/Convai/Scripts/Utils/ConvaiGRPCAPI.cs:352)
System.Runtime.CompilerServices.AsyncTaskMethodBuilder:Start(d__16&)
Convai.gRPCAPI.ConvaiGRPCAPI:ProcessAudioChunk(AsyncDuplexStreamingCall`2, Int32, Single[], Boolean, String)
Convai.gRPCAPI.d__14:MoveNext() (at Assets/Convai/Scripts/Utils/ConvaiGRPCAPI.cs:288)
UnityEngine.UnitySynchronizationContext:ExecuteTasks()
looking forward to your correspondence, sincere regards
Some files are didn't loaded due to errors Someone tell me what to do?
Sorry, but this tutorial seems to be missing a few steps. I am not seeing anything that shows Convai on my menu bar. I'm also seeing a long list of "error CS0246"
same bro
Having the same errors.
I fix this by installing Animation Rigging, it is in Window -> Package Manager -> Change the bar "Packages: In Project" into "Packages: Unity Registry" -> install Animation Rigging under Packages
@@user-dg4pg7rx1u thx bro
NOT WORKING I GET THIS ERROR I ALREADY TRY EVERYTHING> Assets\Convai\Scripts\Editor\ConvaiCharacterImporter.cs(4,7): error CS0246: The type or namespace name 'Siccity' could not be found (are you missing a using directive or an assembly reference?)
Hello, can you email us at support@convai.com or join our discord for direct communication: discord.gg/CUfM22wtB4
This tutorial does not work. There is no place to put an API key like in the tutorial and when you first import the package it has several error messages saying, Assets\Convai\Plugins\GLTFUtility\Scripts\Spec\GLTFAnimation.cs(37,18): error CS0246: The type or namespace name 'Required' could not be found (are you missing a using directive or an assembly reference?) Please update this tutorial.
Yes Same error
@@usamabutt8623Hello, we have a troubleshoot guideline here: docs.convai.com/api-docs/plugins-and-integrations/unity-plugin/troubleshooting
If error continues, please reach out at support@convail.com
@@usamabutt8623 I am getting the same errors and seems that many others are too. Convai should do a tutorial video on how to fix these errors becuase I ma trying to follow the troubleshooting procedure in the link they provided and no luck 😕
if you made your system work seamlessly with mixamo and fuse character generator you would go far
Yes, it is something we are definitely thinking of this! :)
look up tafi avatar@@convai daz 3d is making a text based character generator
Unity asset store download doesn't come w/ the Character Importer :/
Hello, in the asset store we are limited by the constraints from unity. For the character importer you need to use the version from our documentation. docs.convai.com/api-docs/plugins-and-integrations/unity-plugin
How is this different than using OpenAI? Is Convai an OpenAI wrapper?
We focus on the lowest latency speech recognition, LLM and voice. Orchestrating this is no easy feat. We want this to feel as natural as possible.
@@convai You guys are doing a awesome job, im currently trying to incorparate it into my MRTK project. Though having a few issues, The error "LNK1181 cannot open input file 'D:\Builds\Test\build\bin\ARM64\Release\GameAssembly.lib'" is a linker error in your project. The error occurs when the linker is unable to find and open the specified input file, in this case, 'GameAssembly.lib'. Then this error which i have no control over The error "LNK2019 unresolved external symbol grpcsharp_call_recv_initial_metadata" is another linker error. The error indicates that the linker is unable to find the definition for the function grpcsharp_call_recv_initial_metadata from the gRPC library.
I should have said these errors happen after the build, and when i have visual studio open, with my hololens attached, then build it without Debug with Arm64 with Realease. Thank you though for providing an awesome AI experience
WOW
you package is broken, when imported into a new blanck projet in 2021 it creates bunches of errors
Hello,
You can integrate our Convai package from Asset Store into your project via Package Manager.
If you want, join our Discord server and let's complete the installation together. discord.gg/zmxCXF2bRA
@@convai thanks for the reply I didn't know about that ! I actually fixed the error by doing exactly what people in comment suggested. I'll join your discord also and congrats for what you do !
is there a mac tutorial for all this?
I have downloaded the core unity plugin but in the folder is a bunch of folders labeled with numbers
Hello, If you need any help with the setup, we'd be happy to assist you on our Discord server. Feel free to join us there! discord.gg/S7HQv4sxz3
while importing package error occurs sir?
me too
Same here.
@@transcendencemediallc3845 hello, we have a troubleshooting guideline here: docs.convai.com/api-docs/plugins-and-integrations/unity-plugin/troubleshooting
If error persists please message us at support@convai.com
they seem more like assistance than character.. a bounty hunter wouldn't act like that
Not working! Please update, waist of my time...
You start using Unity... Then you change to Unreal and Unity is no more. This is how you completely lost me.
This is insane but is this totally free? Cause there's a competitor of yours names Inworld AI and I used it pretty good.
We have a free developer tool. When going to production with the game/application is where we can go with an enterprise or a partnership deal.