# AI Pawn does not hear noise

**URL:** <https://forums.unrealengine.com/t/ai-pawn-does-not-hear-noise/423429>\
**Category:** AI\
**Tags:** noise, unreal-engine, pawn-sensing, question, Blueprint\
**Created:** [April 24, 2018, 8:25am UTC](https://forums.unrealengine.com/t/ai-pawn-does-not-hear-noise/423429 "2018-04-24T08:25:46Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![NiVer0n](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NiVer0n](https://forums.unrealengine.com/u/NiVer0n)\
**Post date:** [April 24, 2018, 8:25am UTC](https://forums.unrealengine.com/t/ai-pawn-does-not-hear-noise/423429/1 "2018-04-24T08:25:46Z")

</div>

Hi there!  
I`m trying to make a system that moves AI to the source of noise, when he hears it.  
I ran into a problem: AI does not hear the noise the actor makes. I set up the Pawn Sensing in such a way that the source entered the radius of noise trapping, and added the component Pawn Noise Emitter to the actor, but for some reason the event OnHearNoise does not happen. What could be the problem?

---

<div class="post-metadata">

**Author:** ![MrMcKvarz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MrMcKvarz](https://forums.unrealengine.com/u/MrMcKvarz)\
**Post date:** [April 24, 2018, 12:08pm UTC](https://forums.unrealengine.com/t/ai-pawn-does-not-hear-noise/423429/2 "2018-04-24T12:08:14Z")

</div>

It can be that it detects only enemies sounds and the actor that emitting noise is not one. Try setting perception to react to neutrals and friends.

---

<div class="post-metadata">

**Author:** ![Vaheva](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/vaheva/32/963466_2.png) [@Vaheva](https://forums.unrealengine.com/u/Vaheva)\
**Post date:** [April 24, 2018, 2:03pm UTC](https://forums.unrealengine.com/t/ai-pawn-does-not-hear-noise/423429/3 "2018-04-24T14:03:30Z")

</div>

Pawn Noise Emitter must emit noise - this is not permanent, you have to code it, for example, make noise on foot step, shoot etc.

---

<div class="post-metadata">

**Author:** ![NiVer0n](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NiVer0n](https://forums.unrealengine.com/u/NiVer0n)\
**Post date:** [April 24, 2018, 2:37pm UTC](https://forums.unrealengine.com/t/ai-pawn-does-not-hear-noise/423429/4 "2018-04-24T14:37:34Z")

</div>

I already do this in my Door Actor: there is an event that play a sound, move a door by timeline and make a noise. You can see a part of logic with Pawn Noise Emitter on the second attached image.

---

<div class="post-metadata">

**Author:** ![NiVer0n](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NiVer0n](https://forums.unrealengine.com/u/NiVer0n)\
**Post date:** [April 24, 2018, 3:03pm UTC](https://forums.unrealengine.com/t/ai-pawn-does-not-hear-noise/423429/5 "2018-04-24T15:03:17Z")

</div>

![238658-screenshot.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/0/f/80f9b33882d5bf3b48fb108dd92977a656d8fd10.jpeg)

Just make as you said, but it really doen`t help.

---

<div class="post-metadata">

**Author:** ![NiVer0n](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NiVer0n](https://forums.unrealengine.com/u/NiVer0n)\
**Post date:** [April 24, 2018, 9:31pm UTC](https://forums.unrealengine.com/t/ai-pawn-does-not-hear-noise/423429/6 "2018-04-24T21:31:12Z")

</div>

Okey, the solution was simple: use node “Report Noise Event” with AIPerception component.

---

<div class="post-metadata">

**Author:** ![Forskoming](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Forskoming](https://forums.unrealengine.com/u/Forskoming)\
**Post date:** [July 9, 2024, 4:47am UTC](https://forums.unrealengine.com/t/ai-pawn-does-not-hear-noise/423429/7 "2024-07-09T04:47:30Z")

</div>

I also encountered a problem when the noise that I made when shooting was not perceived by the AI. In a new project, I created 2 Actors to check everything, but there was also no result. I noticed that I couldn’t get a link to my Actor that was playing the noise, and I realized that On Hear Noise only accepts the noise if it was played by Pawn.

This creates problems when you need to reproduce sound with weapons or simply with stones. I won’t make my own Pawn stones just because of this -\_-

I’m currently looking for a solution to this problem, if it doesn’t work, I’ll start testing AIPerception.

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/5/0/a50c1f7333fd26cd47526b2781798d2df4cba67f.png)
