# Issue with Sight Sense with multiple AI that have same Behavior Tree

**URL:** <https://forums.unrealengine.com/t/issue-with-sight-sense-with-multiple-ai-that-have-same-behavior-tree/481708>\
**Category:** AI\
**Tags:** Behavior-Tree, aiperception, unreal-engine, issue, question\
**Created:** [April 10, 2021, 2:34pm UTC](https://forums.unrealengine.com/t/issue-with-sight-sense-with-multiple-ai-that-have-same-behavior-tree/481708 "2021-04-10T14:34:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ocir-Tello](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ocir-Tello](https://forums.unrealengine.com/u/Ocir-Tello)\
**Post date:** [April 10, 2021, 2:34pm UTC](https://forums.unrealengine.com/t/issue-with-sight-sense-with-multiple-ai-that-have-same-behavior-tree/481708/1 "2021-04-10T14:34:46Z")

</div>

Hey everybody,

**I struggle with an issue since this morning :**

I work on a basic melee AI since few days, and I just spot that I have an issue with the Target Perception Update.

When I spawn multiple AI in my level, if one AI trigger the Perception Update event, all others AI are triggered too and run the right but unwanted branch of their behavior tree.

I already check if the synced box was checked on the Blackboard but unfortunately no.

I already do many tests, like moving the AI Sense in the Enemy Character BP, go back to Character AI BP, try to get blackboard from the current pawn, and so on, but no one worked.

**My BP architecture :**

I have a **AI\_NME\_Melee\_Base** that is the parent default class of all AI Melee Enemy.  
I have a **AI\_NME\_Melee\_Base\_02** that is a child of it. This is my spawned enemy in my level.  
I have a **AIC\_NME\_Melee\_Base** that is my AI Controller of my Parent Melee default class. My Sight Sense is in it.

This AI Controller si connected to my **BT\_NME\_Melee\_Basics** Behavior Tree.

It’s as if all these multiple AI spawned aren’t correctly instancied and share the same behavior, instead of having each one a personaly instancied behavior tree and blackboard. But I don’t know how to resolve this.

**Some screenshots here :**

 ![335503-aicontrollerbp.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/c/f/acfe950c5255c3e2aebf7f46ab93ce7305d602a8.png)

 ![335504-behaviortree.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/f/e/bfe7e0edbbbf0aea53065fa102bb35c5c3f6906b.png)

---

<div class="post-metadata">

**Author:** ![Ocir-Tello](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ocir-Tello](https://forums.unrealengine.com/u/Ocir-Tello)\
**Post date:** [April 10, 2021, 3:02pm UTC](https://forums.unrealengine.com/t/issue-with-sight-sense-with-multiple-ai-that-have-same-behavior-tree/481708/2 "2021-04-10T15:02:19Z")

</div>

Okay dunno what I’ve done but after some other random tests, system works as intended. Solved.

---

<div class="post-metadata">

**Author:** ![Hector-c5](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hector-c5](https://forums.unrealengine.com/u/Hector-c5)\
**Post date:** [December 29, 2022, 9:33pm UTC](https://forums.unrealengine.com/t/issue-with-sight-sense-with-multiple-ai-that-have-same-behavior-tree/481708/3 "2022-12-29T21:33:48Z")

</div>

Hi, did you find out how you solved the problem?
