Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000000001c8

Hello Currently I have this problem the says"
UnrealEditor_StealThenJustEscape!UE::CoreUObject::Private::ResolveObjectHandleNoRead() [C:\Program Files (x86)\UE_5.2\Engine\Source\Runtime\CoreUObject\Public\UObject\ObjectHandle.h:255]
UnrealEditor_StealThenJustEscape!AAIEnemy::BeginPlay() [C:\Users\PC\Desktop\Blender and Unreal Projects\StealThenJustEscape\Source\StealThenJustEscape\AIEnemy.cpp:24]
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
kernel32
ntdll"


Can you Help me?

Looks like you have pointed to an object that has not been initialized, or atleast returning nullptr value. Somewhere in your BeginPlay()… (Projects\StealThenJustEscape\Source\StealThenJustEscape\AIEnemy.cpp:24])

Have a look there…

When I debug it in the vs the error is in the UE::CoreUObject

And my code in AIEnemy is like this

I figured it out the problem was that the aienemy has no player to look out for


but still thank you giving a hint to solved this problem

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.