UE5.1/5.2 Crashes - FMath::VInterpConstantTo

Good day to everyone.
I am kinda stuck on the Crypt Raider FMath::VInterpConstantTo section.
My UE5 editor crashes after i ran the live update for the config showcased in the video.

Error message:

LoginId:65becfd74bb28ab3d70d12811e144f6f
EpicAccountId:ca7b278ebed54b14a6438d076d0fc84b

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000000001c8

UnrealEditor_CryptRaider_New!UE::CoreUObject::Private::ResolveObjectHandleNoRead() [C:\Program Files\Epic Games\UE_5.2\Engine\Source\Runtime\CoreUObject\Public\UObject\ObjectHandle.h:255]
UnrealEditor_CryptRaider_New!UMover::UMover() [C:\Users\Nomad\Documents\Unreal Projects\CryptRaider_New\Source\CryptRaider_New\Mover.cpp:16]
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Projects
UnrealEditor_Projects
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
kernel32
ntdll

I have attempted to change the engine version from 5.2 to 5.1 the error persists.
Attempted to mark the binaries folder as _old or completely remove it and still the error persists after UE rebuilds the project.

Any other solution i can try?

Could you show your code for Mover.h and Mover.cpp?

Sure


I guess i botched the code somewhere or some odd error is happening.
Anyhow i made a new component and things seem to work as intended.
Updated code.

The problem was that you had code in the constructor instead of BeginPlay. GetOwner would return nullptr there which you immediately dereference as it doesn’t have an owner yet.

1 Like

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

Privacy & Terms