harry4747
Members
-
Joined
-
Last visited
Reputation Activity
-
Cool! Be aware that this is GTA Enhanced and not Legacy :)
-
harry4747 reacted to Chris's Modding in Real Pursuit AI v1.3 - crashes lspdfr loading in gta V enhancedHi, V1.3 is quite out of date as I haven't add the chance to update this mod. I am working on an update but trying to juggle 3 mods and work is proving quite a task. A new update should be available in a couple of weeks :). I hope this helps
-
harry4747 got a reaction from Cyan in Real Pursuit AI v1.3 - crashes lspdfr loading in gta V enhancedReal Pursuit AI v1.3 crashes with an unhandled access violation when scanning for active pursuits. The crash occurs when the pursuit scanner attempts to query an invalid or freed entity handle.
Crash Details
Exception Type: EXCEPTION_ACCESS_VIOLATION (0xc0000005)
Exception Address: 0x0000000000000000 (null pointer)
Stack Trace:
RealPursuit.Systems.PursuitScanner.ScanForNewPursuit(Int32 now)
-> GTA.Entity.TryGetMemoryAddress(IntPtr& address)
-> GTA.Entity.get_EntityType()
[CRASH: Attempting to read from address 0x0000000000000000]
Full Call Chain:
Real Pursuit AI Hook:OnGameCrashManaged()
→ SHVDN.NativeMemory.GetEntityAddress(Int32 handle)
→ GTA.Entity.TryGetMemoryAddress(IntPtr& address)
→ GTA.Entity.get_EntityType()
→ RealPursuit.Systems.PursuitScanner.ScanForNewPursuit(Int32 now)
→ RealPursuit.Systems.PursuitScanner.Update(Int32 now)
→ RealPursuit.Core.RealPursuitMain.OnTick()
Root Cause Analysis
Invalid Entity Handle: The pursuit scanner is iterating through entity handles and encounters one that either:
Has been deleted from memory but the handle is still referenced
Was never properly initialized
Points to freed/deallocated memory
Missing Null Check: The ScanForNewPursuit() method doesn't validate the entity handle before calling get_EntityType(), resulting in a memory access violation.
Trigger Conditions:
Occurs during story mode loading/gameplay
Likely triggered when spawning/despawning entities during dynamic pursuit scanning
May occur when multiple entities are being created/destroyed rapidly
System Context at Crash
Game Version: GTA V v1.0.1013.34 (Enhanced Edition)
Windows: Windows 10 Home Single Language (10.0.26200.0)
Active Plugins: LSPD First Response, Policing Redefined, Real Pursuit AI v1.3
Crash Time: 2026-04-14 20:06:06 PM
Reproduction
The crash occurs during story mode gameplay when Real Pursuit AI's pursuit scanner attempts to evaluate entity handles that have been invalidated or deleted.
-
You can use the default lspdfr backup menu.
Traffic Suite has a coroner, road side assistance and a tow truck.