# State machine not working in Unreal Metahuman Blueprint

**URL:** https://forum.convai.com/t/state-machine-not-working-in-unreal-metahuman-blueprint/1475
**Category:** Unreal Engine Plugin
**Tags:** question, unreal-engine
**Created:** [August 20, 2024, 3:29pm UTC](https://forum.convai.com/t/state-machine-not-working-in-unreal-metahuman-blueprint/1475 "2024-08-20T15:29:34Z")
**Posts on this page:** 5
**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: [August 20, 2024, 3:29pm UTC](https://forum.convai.com/t/state-machine-not-working-in-unreal-metahuman-blueprint/1475/1 "2024-08-20T15:29:34Z")

</div>

**Original Discord Post by joel\_jamaze | 2024-08-20 15:29:34**

in the charakter body animation blueprint is the upper body state machine to go form ilde to talk , there is a varaible called is talking , this bool variable stays allways false , from were this variable set? ( it seams that its coming from convai chatbot) when i refenrece to this variable i get a warning Node Result uses potentially thread-unsafe call Get Convai Chatbot . Disable threaded update or use a thread-safe call. Function may need BlueprintThreadSafe metadata adding. and it seams that the variable change then to often ) its also not working , any ideas to fix the state machine?

**Images:**

 ![image.png](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/2X/a/a3a536f804713c287c490c77e5baf66768b28cf0.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: [August 20, 2024, 9:22pm UTC](https://forum.convai.com/t/state-machine-not-working-in-unreal-metahuman-blueprint/1475/2 "2024-08-20T21:22:42Z")

</div>

**Reply by joel\_jamaze | 2024-08-20 21:22:42**

the variable is not set, so build somewere the get chatbot ans set the variable makes it work

---

<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: [August 21, 2024, 12:44am UTC](https://forum.convai.com/t/state-machine-not-working-in-unreal-metahuman-blueprint/1475/3 "2024-08-21T00:44:03Z")

</div>

**Reply by k3kalinix | 2024-08-21 00:44:03**

\<@1216254232957685765\>

---

<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: [August 27, 2024, 10:38am UTC](https://forum.convai.com/t/state-machine-not-working-in-unreal-metahuman-blueprint/1475/4 "2024-08-27T10:38:51Z")

</div>

**Reply by mighty\_brute | 2024-08-27 10:38:51**

Hello \<@255863933125132288\>,  
The issue might be due to the plugin version. I’d recommend updating the Convai plugin, as this error is likely to be resolved in the latest version. The warning about thread-unsafe calls suggests that the variable is being updated in a way that’s not compatible with Unreal’s threaded animation update. Let me know if you face the same error after updating the plugin.

---

<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/state-machine-not-working-in-unreal-metahuman-blueprint/1475/5 "2024-11-25T12:14:41Z")

</div>

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