# Custom EQS generator and Pawn still not working 4.12

**URL:** <https://forums.unrealengine.com/t/custom-eqs-generator-and-pawn-still-not-working-4-12/359507>\
**Category:** AI\
**Tags:** EQS, UE4-12, unreal-engine, question\
**Created:** [June 3, 2016, 2:37pm UTC](https://forums.unrealengine.com/t/custom-eqs-generator-and-pawn-still-not-working-4-12/359507 "2016-06-03T14:37:29Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![KhalimWu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KhalimWu](https://forums.unrealengine.com/u/KhalimWu)\
**Post date:** [June 3, 2016, 2:37pm UTC](https://forums.unrealengine.com/t/custom-eqs-generator-and-pawn-still-not-working-4-12/359507/1 "2016-06-03T14:37:29Z")

</div>

EQS Testing pawn working with regular EQS generator. thanks. problem is now with customs. either i am getting something wrong or its still broken. hard to find out the real reason if you dont fully dominate the EQS system. im following Epic’s tutorials and EQS guide to try to get this working. started high, didnt work, went as basic as possible ([https://docs.unrealengine.com/latest/INT/Engine/AI/EnvironmentQuerySystem/UserGuide/index.html](https://docs.unrealengine.com/latest/INT/Engine/AI/EnvironmentQuerySystem/UserGuide/index.html))

- if you add an Actor with AddGeneratedActor, it “works” (sort of). if you try to add the actor location vector it doesnt. **worldLocation makes no difference** (already tried).
- Generator doesnt recognize custom EnvQueryContext. i know the custom context is working, as i test it with a regular PathingGrid and im able to set my FirstPlayercharacter as the querier (as shown). as soon as set it as querier on the custom generator, it keeps getting the querier as the EQS pawn (the cast to EQSPawn from GetQuerier never fails)

if i am completely misunderstanding this, im sorry. My goal is to mix a pathing grid with a get actor of class. i need to get results based on the pathing grid but it has to be the closest point to the player character. i could do a “All results” and then compare each point and find the nearest, but i want to do it all with EQS instead of blueprint task.

 ![93183-customeqs2.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/5/4/e542ba9a2f3f119b9c0a00df02e63aa91d7aa279.jpeg)

 ![93184-customeqs.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/e/9/2e9dfe4011a43d94ec91e230ca98376b0ffdbcc5.jpeg)

---

<div class="post-metadata">

**Author:** ![TKEta](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TKEta](https://forums.unrealengine.com/u/TKEta)\
**Post date:** [December 2, 2016, 5:27am UTC](https://forums.unrealengine.com/t/custom-eqs-generator-and-pawn-still-not-working-4-12/359507/2 "2016-12-02T05:27:47Z")

</div>

I am also ha

---

<div class="post-metadata">

**Author:** ![TKEta](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TKEta](https://forums.unrealengine.com/u/TKEta)\
**Post date:** [December 2, 2016, 5:28am UTC](https://forums.unrealengine.com/t/custom-eqs-generator-and-pawn-still-not-working-4-12/359507/3 "2016-12-02T05:28:07Z")

</div>

I also have the same problem

---

<div class="post-metadata">

**Author:** ![miracle7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@miracle7](https://forums.unrealengine.com/u/miracle7)\
**Post date:** [April 25, 2017, 8:07am UTC](https://forums.unrealengine.com/t/custom-eqs-generator-and-pawn-still-not-working-4-12/359507/4 "2017-04-25T08:07:25Z")

</div>

Add Generated Vector not working for me either (4.15) ☹

---

<div class="post-metadata">

**Author:** ![miracle7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@miracle7](https://forums.unrealengine.com/u/miracle7)\
**Post date:** [April 25, 2017, 8:49am UTC](https://forums.unrealengine.com/t/custom-eqs-generator-and-pawn-still-not-working-4-12/359507/5 "2017-04-25T08:49:50Z")

</div>

In my case this wasn’t working because I hadn’t set the Generated Item Type of my custom generator to ‘point’ like so:

![135436-generator.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/d/1/fd13a129fa2b9541ca0c6f8c9613c6712e20259f.png)

You need to make sure this is set to ‘point’ in the EQS as well if not set already.

---

<div class="post-metadata">

**Author:** ![gorg222](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gorg222](https://forums.unrealengine.com/u/gorg222)\
**Post date:** [September 25, 2020, 4:44pm UTC](https://forums.unrealengine.com/t/custom-eqs-generator-and-pawn-still-not-working-4-12/359507/6 "2020-09-25T16:44:11Z")

</div>

If you are having problem with this… try restarting UE. That helped me. (For item type vector not working at all)

When changing item type to Point, it crashed, and probably saved it wrongly (so it showed Item Type Point) but in reality it was still Actor. Restart refreshed, what was displayed in the generated item type combo box.

---

<div class="post-metadata">

**Author:** ![MrGoatsy](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mrgoatsy/32/918697_2.png) [@MrGoatsy](https://forums.unrealengine.com/u/MrGoatsy)\
**Post date:** [September 16, 2022, 7:39pm UTC](https://forums.unrealengine.com/t/custom-eqs-generator-and-pawn-still-not-working-4-12/359507/7 "2022-09-16T19:39:12Z")

</div>

This is still an issue in UE 5.0.3

---

<div class="post-metadata">

**Author:** ![ClockworkNinja](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ClockworkNinja](https://forums.unrealengine.com/u/ClockworkNinja)\
**Post date:** [April 17, 2025, 6:39pm UTC](https://forums.unrealengine.com/t/custom-eqs-generator-and-pawn-still-not-working-4-12/359507/8 "2025-04-17T18:39:03Z")

</div>

This is still an issue in UE 5.5.4
