Rebuilding Unreal’s EQS in Unity 6 (Full AI System From Scratch) @git-amend
Rebuilding Unreal’s EQS in Unity 6 (Full AI System From Scratch)  @git-amend
Uploaded March 2026 | Updated September 2026, 7 hours ago
Unreal has a powerful AI feature called the Environment Query System (EQS) that lets agents intelligently evaluate the world and choose optimal positions for attack, cover, or patrol — but Unity doesn’t have anything like it built in. In this video, we recreate EQS from scratch inside Unity 6, building a fully asset-driven system with generators, tests, scoring, and runtime execution, so our AI can dynamically reason about space instead of relying on hardcoded behavior.

Want to support me? 😀
Buy me a coffee! ko-fi.com/adammyhre

🔔 Subscribe for more Unity Tutorials youtube.com/@git-amend

Discord: discord.gg/FDRZGQBBUC

#unity3d #gamedev #indiedev

▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬

0:00 What is EQS?
2:11 Data Structures
5:09 Generators and Tests
9:30 Environment Query
10:30 Executor
12:45 Query Runner
14:00 Agent
17:17 Demo

*Source code:* github.com/adammyhre/Unity-Environment-Query-System

More Useful Code:
github.com/adammyhre?tab=repositories
Unity Utility Library: github.com/adammyhre/Unity-Utils
Lock Inspector Hotkey: gist.github.com/adammyhre/4754f731a93bf1cab0d1385ccfa23642

*Other Recommended Tools* _(Affiliate Links)_
Mouse Shortcuts - assetstore.unity.com/packages/tools/utilities/mouse-button-shortcuts-and-selection-history-228013?aid=1101lw3sv
Init(args) - assetstore.unity.com/packages/tools/utilities/init-args-200530?aid=1101lw3sv
Wingman - assetstore.unity.com/packages/tools/utilities/wingman-your-inspector-s-best-friend-303181?aid=1101lw3sv
Favorites Window - assetstore.unity.com/packages/tools/utilities/favorites-window-123487?aid=1101lw3sv
Scene Notes - assetstore.unity.com/publishers/87819?aid=1101lw3sv
Beautify - assetstore.unity.com/packages/vfx/shaders/fullscreen-camera-effects/beautify-3-advanced-post-processing-233073?aid=1101lw3sv
Odin - assetstore.unity.com/packages/tools/utilities/odin-inspector-and-serializer-89041?aid=1101lw3sv?aid=1101lw3sv
Odin Validator - assetstore.unity.com/packages/tools/utilities/odin-validator-227861?aid=1101lw3sv
Hot Reload: assetstore.unity.com/packages/tools/utilities/hot-reload-edit-code-without-compiling-254358?aid=1101lw3sv
Better Hierarchy: assetstore.unity.com/packages/tools/utilities/better-hierarchy-272963?aid=1101lw3sv
Better Transform: assetstore.unity.com/packages/tools/utilities/better-transform-size-notes-global-local-workspace-child-parent--276554?aid=1101lw3sv
Better Mesh Filter: assetstore.unity.com/packages/tools/utilities/better-mesh-filter-266489?aid=1101lw3sv
Editor Console Pro: assetstore.unity.com/packages/tools/utilities/editor-console-pro-11889?aid=1101lw3sv
Any Object Finder: assetstore.unity.com/packages/tools/utilities/any-object-finder-286455?aid=1101lw3sv
Kybernetic Tools: assetstore.unity.com/publishers/16747?aid=1101lw3sv
Sisus Tools: assetstore.unity.com/publishers/41398?aid=1101lw3sv
Prime Tween - assetstore.unity.com/packages/tools/animation/primetween-high-performance-animations-and-sequences-252960?aid=1101lw3s
Rabbit Logger - assetstore.unity.com/packages/tools/utilities/rabbit-logger-305396?aid=1101lw3s

*Follow me!*
https://linktr.ee/gitamend
Rebuilding Unreal’s EQS in Unity 6 (Full AI System From Scratch)Utility AI: Mastering Smart Decisions in Unity!Match 3 Candy Crush Game in Unity (Part 3)Better AI in Unity - GOAP (Goal Oriented Action Planning)6 Hidden C# Features Every Unity Developer Should KnowFix Mixamo Animations Automatically in Unity (Animation Post Processor)Build Custom Unity MCP Tools for Coding AgentsBuild A Shoot Em Up Game in Unity: BOSS Fight Mechanics (Part 5)Learn Unit Testing for MVP/MVC Architecture in UnityBuild A Shoot Em Up Game in Unity: I used to HATE Unity UGUI (Part 4)RAYCASTING Made Insanely Fast for Collision Detection!When, Why, and How to use Builder and Fluent Builder Programming Patterns
git-amend |

Rebuilding Unreal’s EQS in Unity 6 (Full AI System From Scratch)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER