Quest Animation Capture - how to export / use animations recorded?

Was able to record animations but can’t tell where or how I am supposed to be able to access them ? Looked in the Character Setup, Studio Editor …

Hello @EggMan28
To access your uploaded animations, please make sure you’re logged in using your Convai account—the same one you’re using within the editor api key.

Once you’re logged in, navigate to the Convai Configuration panel. Under the Server Animation tab, you’ll find all your uploaded animations listed there.

Let us know if you need help locating this panel or if anything isn’t showing up as expected!

Thanks,
Convai Unity Team.

Thanks for the quick response. In Unity, I am using the same Convai account I used on the Quest app but that “Server Animation” is blank for me even though I recorded and see 2 on the Quest app. Which version of Unity is this known to work for ? I am trying on the 6.2 beta and not sure if that’s not yet supported.
I see the following error in the console - “ArgumentNullException: Value cannot be null.
Parameter name: value
Newtonsoft.Json.JsonConvert.DeserializeObject (System.String value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings) (at <761cf2a144514d2291a678c334d49e9b>:0)
Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value, Newtonsoft.Json.JsonSerializerSettings settings) (at <761cf2a144514d2291a678c334d49e9b>:0)
Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value) (at <761cf2a144514d2291a678c334d49e9b>:0)
Convai.Scripts.Editor.Setup.ServerAnimation.ServerAnimationAPI.GetAnimationList (System.String apiKey, System.Int32 page) (at Assets/Convai/Scripts/Editor/Setup/ServerAnimation/ServerAnimationAPI.cs:27)
Convai.Scripts.Editor.Setup.ServerAnimation.Model.ServerAnimationPageData+d__10.MoveNext () (at Assets/Convai/Scripts/Editor/Setup/ServerAnimation/Model/ServerAnimationPageData.cs:17)
Convai.Scripts.Editor.Setup.ServerAnimation.Model.ServerAnimationPageData+d__10.System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult (System.Int16 token) (at <26cd6db48f5644b29ddfcb57442a48ca>:0)
Convai.Scripts.Editor.Setup.ServerAnimation.Controller.ServerAnimationPageController.InjectData () (at Assets/Convai/Scripts/Editor/Setup/ServerAnimation/Controller/ServerAnimationPageController.cs:118)
Convai.Scripts.Editor.Setup.ServerAnimation.Controller.ServerAnimationPageController.InjectData () (at Assets/Convai/Scripts/Editor/Setup/ServerAnimation/Controller/ServerAnimationPageController.cs:118)
System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.b__7_0 (System.Object state) (at <748d46004b1941a4ae235b187efb7b4d>:0)
UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () (at <39f0d3da61fc43e9aba78ea6b903f101>:0)
UnityEngine.UnitySynchronizationContext.Exec () (at <39f0d3da61fc43e9aba78ea6b903f101>:0)
UnityEngine.UnitySynchronizationContext.ExecuteTasks () (at <39f0d3da61fc43e9aba78ea6b903f101>:0)”

Make sure you are using the latest version of the Convai SDK.

And try it on an LTS version.

Thanks. I tried a new project in Unity 6.1.3f1, imported the Convai SDK from Asset Store, entered API key from same login, and still seem to see the same error msg in Console. Any suggestion which Unity version I should try instead or tips on what else might be not right on my side ?

Please return to your original project and make the following change:

In ServerAnimationAPI.cs, go to the CreateHttpClient function and add the following line at line 115:

httpClient.DefaultRequestHeaders.Add("Source", "convaiUI");

Let us know once it’s updated or if you run into any issues!

Thanks, I no longer see that error in the console but my Server Animations list is still empty.

Assuming I am meant to add that line as below ?
“private static HttpClient CreateHttpClient( string apiKey ) {
if ( string.IsNullOrEmpty( apiKey ) )
return new HttpClient();
HttpClient httpClient = new() {
Timeout = TimeSpan.FromSeconds( 30 ),
DefaultRequestHeaders = {
Accept = {
new MediaTypeWithQualityHeaderValue( “application/json” )
}
}
};
httpClient.DefaultRequestHeaders.Add( “CONVAI-API-KEY”, apiKey );
httpClient.DefaultRequestHeaders.Add( “Source”, “convaiUI” );
return httpClient;
}”

The line numbering is slightly different in my code, tried order below but same result.
" httpClient.DefaultRequestHeaders.Add( “Source”, “convaiUI” );
httpClient.DefaultRequestHeaders.Add( “CONVAI-API-KEY”, apiKey );
"
Confirmed my API key works fine for normal test chat.

Wait - record what now? I am unfamiliar with recording animations using Convai.

There doesn’t appear to be any animation saved under your account. Could you please make sure that you’ve captured and uploaded the animation correctly?

Additionally, please ensure that you’re using the latest version of the Animation Capture App.

With our new app available on the Meta Store, you can record basic animations such as idle poses, waving, bottle-filling gestures, and more. These animations can then be transferred to Avatar Studio or Unity for use in your projects.

You can check it out here: Convai Animation Capture on Meta Store

1 Like

I installed the Quest Animation capture app 2 days ago to try it, recorded 2 animations, saved them without issues. I tried installing the app on another Quest, logged in with the same email and could see and replay the 2 animations saved previously though. Recorded a third animation also.
I also tried creating a new Convai account, logged in to the Capture app with the new email, recorded and saved a new animation, used the API key from the new account in Unity and don’t see the animation either.

1 Like

Wow. You really do need a PR person. Thanks, that’s kinda huge. I’ll try it out!

1 Like

I tried but in my convai also animation not coming in unity

was able to record animations in quest 3 with updated new application using convai but dont know where or how i am supposed to be able to access them? Its not showing in convai server animation field using same convai key

Hello @EggMan28 @Jothi_Rangaswamy @Gargi_Jadaun @Bob_Hawkey , We have released a new update, could you please try again?

i export animation in unity but its not playing properly

Please share a video.

Could you please re-download the animation file and share it with me?