# AI Controller not attaching to a spawned character in UE 5

**URL:** <https://forums.unrealengine.com/t/ai-controller-not-attaching-to-a-spawned-character-in-ue-5/2161581>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [December 1, 2024, 2:57pm UTC](https://forums.unrealengine.com/t/ai-controller-not-attaching-to-a-spawned-character-in-ue-5/2161581 "2024-12-01T14:57:16Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![Jorgy\_M](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jorgy_m/32/88713_2.png) [@Jorgy\_M](https://forums.unrealengine.com/u/Jorgy_M)\
**Post date:** [December 3, 2024, 3:30pm UTC](https://forums.unrealengine.com/t/ai-controller-not-attaching-to-a-spawned-character-in-ue-5/2161581/11 "2024-12-03T15:30:05Z")

</div>

Probably, but thanks any way… Can you check my new topic please, probably you have good idea. Thank you

> [@Issue with Behavior Tree after AI Respawn](https://forums.unrealengine.com/t/issue-with-behavior-tree-after-ai-respawn/2165417):
>
> And Hello again))) I’m encountering an issue with my Behavior Tree in Unreal Engine 5. Here’s the situation: AI Respawn Setup: The AI character is destroyed and respawned multiple times during gameplay. Upon respawn, the Behavior Tree is restarted for the new AI instance. Problem: After the second respawn, the Behavior Tree seems to “freeze” or get stuck on a particular task (e.g., Wait or Move To). While the AI character is still moving and interacting correctly in the game world (e.g.…

---

_[View the full topic](https://forums.unrealengine.com/t/ai-controller-not-attaching-to-a-spawned-character-in-ue-5/2161581)._
