GTA-Inspired NPC System in UE5 – Part 3 – Pooling

Channel:
Subscribers:
10,000
Published on ● Video Link: https://www.youtube.com/watch?v=8XVyxfxbV9A



Duration: 0:00
145 views
9


GTA-Inspired NPC System in UE5 – Part 3 – Pooling
In this video, I continue building a Grand Theft Auto-inspired NPC spawner in Unreal Engine 5. This is part 3 of the system where I introduce object pooling to dramatically improve performance when handling dynamic NPCs.

🔷 What You’ll Learn in This Video:
✅ Implement an object pooling system for NPCs
✅ Spawn and despawn NPCs efficiently
✅ Handle location-based spawning rules
✅ Optimize a large open world with minimal performance hit

🔷 Support the Channel:
👉 Patrehttps://www.patreon.com/d3kryptionon   - Get early access to videos and exclusive content!

🔷 Connect with me:https://linktr.ee/d3kryptiontion
👉 Discohttps://discord.com/invite/AybHAuZDRrrd  
👉 Twitthttps://x.com/D3kryptiontion
👉 Instagrhttps://www.instagram.com/d3kryptionon  

🔷 My Setup:
👉 OS: Manjaro Linux
👉 CPU: Intel Core i7-4790K @ 4.00GHz
👉 GPU: Nvidia GeForce RTX 3090 24GB
👉 RAM: 16GB
👉 Headphones: Audio Technica ATH-M50X
👉 Mic: Audio Technica AT2020
👉 DAC: Behringer UMC22
👉 Keyboard: Keychron Q3 QMK with Krome Keycaps - Pudding rainbow kanji-hiragana caps
👉 Mouse: Logitech G403

🙌 Don't forget to like, comment, and subscribe for more game development tutorials. Hit the bell icon to stay updated with our latest videos!

🔷 Chapters:
0:00 - Intro
00:49 - What is pooling
03:34 - Idea
06:26 - Pooling struct
08:54 - Check NPC distances
12:09 - Add Spawned NPC to Profile
15:05 - Check NPC distances update
16:02 - Get NPC spawn count
17:37 - Should spawn NPC macro
18:19 - Finding NPC in pool
22:20 - Remove NPC from pool
24:11 - Struct updating
29:03 - Updating remove spawned npcs
29:54 - NPC distance
30:29 - Patreon
30:39 - Testing pooling
31:25 - Disabling pool
34:15 - Testing disabling
38:00 - Check NPC in pool
39:40 - Get NPC from pool
49:34 - Result
53:54 - Outro

#UnrealEngine5 #NPCSpawner #GameDevelopment




Other Videos By D3kryption


4 days agoUnreal easy plugin updating - PluginUpdator by Bleaks #notsponsored
2025-04-24Timeline looping #unrealengine5 #tips
2025-04-23GTA-Inspired NPC System in UE5 – Part 3 – Pooling
2025-04-20Unreal Engine 5 - Right Click Menu searching
2025-04-17UE5 - Name Dropdown #unrealengine #unrealengine5
2025-04-16Create a Travel Boat System – UE5 Tutorial (Part 1)
2025-04-13Console HELP command - Unreal Engine 5 tips #unrealengine5
2025-04-11UE5 Jail System Tutorial: UI & Inventory removal #unrealengine5
2025-04-10Recreate Batman Arkham Death Screens in Unreal Engine 5 (Part 3) - UI
2025-04-06Did you know? - Remove Redirectors - Unreal Engine
2025-04-03Efficient Interior Loading with Linked Doors - UE5 Door System
2025-04-02Unreal Engine 5 Blockades – Unlock With Quests & Currency
2025-03-31Introducing: Game Ripper AI - World First Official trailer - AI game asset extraction tool
2025-03-30Fable Style Demon Doors with Quests & Riddles
2025-03-27Efficient Interior Loading with Doors in UE5 Unreal Engine 5: Part 2 - Level Changes
2025-03-26Unreal Engine 5 Tutorial: Racing Script Setup for Foot Races | UE5 Game Development (Part 3)
2025-03-23Recreate Batman: Arkham’s Death Scenes in Unreal Engine 5
2025-03-20Create Fable-Style Demon Doors in Unreal Engine 5
2025-03-19UE5 Jail System Tutorial: UI & Inventory removal in Unreal Engine 5, Part 6
2025-03-16Recreate Batman: Arkham’s Death Scenes in Unreal Engine 5
2025-03-13Build Your Own Flash Game with Upgrades, Shop Systems, and Dynamic Loading!