# Rock projectile works when put into the level alone but not when spawned

**URL:** <https://forums.unrealengine.com/t/rock-projectile-works-when-put-into-the-level-alone-but-not-when-spawned/2708748>\
**Category:** Blueprint\
**Tags:** unreal-engine, question\
**Created:** [March 25, 2026, 7:08am UTC](https://forums.unrealengine.com/t/rock-projectile-works-when-put-into-the-level-alone-but-not-when-spawned/2708748 "2026-03-25T07:08:22Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![B\_Rad79](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@B\_Rad79](https://forums.unrealengine.com/u/B_Rad79)\
**Post date:** [March 25, 2026, 7:08am UTC](https://forums.unrealengine.com/t/rock-projectile-works-when-put-into-the-level-alone-but-not-when-spawned/2708748/1 "2026-03-25T07:08:23Z")

</div>

![Screenshot 2026-03-24 235929](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/3/2/83259dbd01e5f8fe967ea8d50a7ca8ef7986b4b2.png)

(1st screenshot is player code, 2nd is the rock (Pawn))

when i drag this pawn into the level it works just fine, but when i spawn it its like it doesn’t exist to the ai, any suggestions on how to fix this?

---

<div class="post-metadata">

**Author:** ![B\_Rad79](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@B\_Rad79](https://forums.unrealengine.com/u/B_Rad79)\
**Post date:** [March 25, 2026, 7:09am UTC](https://forums.unrealengine.com/t/rock-projectile-works-when-put-into-the-level-alone-but-not-when-spawned/2708748/2 "2026-03-25T07:09:19Z")

</div>

![Screenshot 2026-03-24 235929](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/3/2/83259dbd01e5f8fe967ea8d50a7ca8ef7986b4b2.png)

(pawn code)

---

<div class="post-metadata">

**Author:** ![B\_Rad79](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@B\_Rad79](https://forums.unrealengine.com/u/B_Rad79)\
**Post date:** [March 25, 2026, 7:11am UTC](https://forums.unrealengine.com/t/rock-projectile-works-when-put-into-the-level-alone-but-not-when-spawned/2708748/3 "2026-03-25T07:11:27Z")

</div>

![image_2026-03-25_001113123](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/8/8/a88b41676dfc56156b31242cf2440ba6b0b7439c.png)

(Ai detection code)

---

<div class="post-metadata">

**Author:** ![dZh0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dZh0](https://forums.unrealengine.com/u/dZh0)\
**Post date:** [March 25, 2026, 7:55am UTC](https://forums.unrealengine.com/t/rock-projectile-works-when-put-into-the-level-alone-but-not-when-spawned/2708748/4 "2026-03-25T07:55:12Z")

</div>

Can you provide more detail?

“Rock not working when spawned” is funny and all 😉 but please explain what is wrong with it.

- Is the projectile not spawned?
- Does it not make a sound then bouncing?
- Is it not being heard by the AI?

---

<div class="post-metadata">

**Author:** ![B\_Rad79](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@B\_Rad79](https://forums.unrealengine.com/u/B_Rad79)\
**Post date:** [March 26, 2026, 5:39am UTC](https://forums.unrealengine.com/t/rock-projectile-works-when-put-into-the-level-alone-but-not-when-spawned/2708748/6 "2026-03-26T05:39:45Z")

</div>

yeah that is fair, the ai isn’t hearing it is all. (sorry it was like 2am when i posted this. I was super not awake, my bad)

---

<div class="post-metadata">

**Author:** ![dZh0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dZh0](https://forums.unrealengine.com/u/dZh0)\
**Post date:** [March 26, 2026, 9:57pm UTC](https://forums.unrealengine.com/t/rock-projectile-works-when-put-into-the-level-alone-but-not-when-spawned/2708748/7 "2026-03-26T21:57:30Z")

</div>

No worries 🙂

…so the AI Perception works with two components:

- AI Perception Component
- Stimuli Source

The actor must be registered with the Perception System. Please, double check if your rock has a `AIPerception Stimuli Source` component and it is properly registers.

For more information check the [official documentation](https://dev.epicgames.com/documentation/en-us/unreal-engine/ai-perception-in-unreal-engine).

Also note that there is a debugging tool that can be accessed with the apostrophe (`) and then Numpad 4. This will help you a lot figuring out what’s going on.

---

<div class="post-metadata">

**Author:** ![Extrone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/extrone/32/906554_2.png) [@Extrone](https://forums.unrealengine.com/u/Extrone)\
**Post date:** [March 27, 2026, 6:49am UTC](https://forums.unrealengine.com/t/rock-projectile-works-when-put-into-the-level-alone-but-not-when-spawned/2708748/8 "2026-03-27T06:49:07Z")

</div>

If the rock is a Pawn, it’s probably not being possessed by an AI Controller when spawned.  
Make sure that in your rock pawn’s Class Defaults, **Auto Possess AI** is set to **Placed in World or Spawned**.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/e/2/de25ee18cec0da3d9374d37316a9f05ae8e1ba54.png)

---

<div class="post-metadata">

**Author:** ![B\_Rad79](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@B\_Rad79](https://forums.unrealengine.com/u/B_Rad79)\
**Post date:** [March 30, 2026, 12:15am UTC](https://forums.unrealengine.com/t/rock-projectile-works-when-put-into-the-level-alone-but-not-when-spawned/2708748/9 "2026-03-30T00:15:37Z")

</div>

THANK YOU THIS FIXED IT (i feel kinda dumb now lol)
