How to Build Realistic AI Perception and Memory in Unity
Building a clean implementation of the Target Tracks Perception System from Game AI Pro. Instead of giving AI agents perfect information, we create a system where they can only perceive what they see and hear — and more importantly, we give them memory that naturally fades over time using envelopes. You'll see how to implement stims, target tracks, and ADSR-style awareness that lets enemies react realistically, stay alert for a while after losing the player, and eventually forget when they can no longer perceive them. Want to support me? 😀 Buy me a coffee! https://ko-fi.com/adammyhre 🔔 Subscribe for more Unity Tutorials / @git-amend Discord: / discord #unity3d #gamedev #indiedev ▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬ 0:00 Target Tracks System 1:38 Data Structures 4:38 Perception Hub 5:27 Perception Agent 13:07 Stim Emitter 14:23 Demo Source code: https://gist.github.com/adammyhre/db6... More Useful Code: https://github.com/adammyhre?tab=repo... Unity Utility Library: https://github.com/adammyhre/Unity-Utils Lock Inspector Hotkey: https://gist.github.com/adammyhre/475... Other Recommended Tools (Affiliate Links) Phantom Navigator - https://assetstore.unity.com/packages... Ultimate Preview - https://assetstore.unity.com/packages... Mouse Shortcuts - https://assetstore.unity.com/packages... Init(args) - https://assetstore.unity.com/packages... Wingman - https://assetstore.unity.com/packages... Favorites Window - https://assetstore.unity.com/packages... Scene Notes - https://assetstore.unity.com/publishe... Beautify - https://assetstore.unity.com/packages... Odin - https://assetstore.unity.com/packages... Odin Validator - https://assetstore.unity.com/packages... Hot Reload: https://assetstore.unity.com/packages... Better Hierarchy: https://assetstore.unity.com/packages... Better Transform: https://assetstore.unity.com/packages... Better Mesh Filter: https://assetstore.unity.com/packages... Editor Console Pro: https://assetstore.unity.com/packages... Any Object Finder: https://assetstore.unity.com/packages... Kybernetic Tools: https://assetstore.unity.com/publishe... Sisus Tools: https://assetstore.unity.com/publishe... Prime Tween - https://assetstore.unity.com/packages... Rabbit Logger - https://assetstore.unity.com/packages... Follow me! https://linktr.ee/gitamend

How Much Money my Indie Game Made (After 1 month)

Stop Bad RNG | Build a Pity System

Preparing for CoreCLR: Unity’s New Lifecycle Management API

How Crimson Desert Fakes Realism (It’s Genius)

Steam update just DESTROYED indie devs?!

Exposing The Solid State Donut Battery. It's Over.

Reinventing Entropy | Compression & Intelligence Part 1

I am done with Golang

How To Make A Big Game (Alone)

The AI Take Over Has Completely Backfired and I Can't Be Happier

I Tested the Cheapest Path to 96GB of VRAM

Can Modern VFX Artists use 90s Software?

Android 17 sucks. So I put Linux on a phone.

How One Guy FIXED Procedural Generation

How Huawei Just Built an Impossible Chip

The Clone Wars: Defending Godot Games From Reupload Scams – Yasen Dinkov – GodotCon 2026

Why Building AI Data Centres Isn’t Working Anymore

The Game Dev Advice That Took 10 Years to Discover

Something is jamming GPS over Europe. Here's what we found

