Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UE5 - Crash when moving character #2

Open
arkanos opened this issue Oct 14, 2022 · 1 comment
Open

UE5 - Crash when moving character #2

arkanos opened this issue Oct 14, 2022 · 1 comment

Comments

@arkanos
Copy link

arkanos commented Oct 14, 2022

Hi! First of all, thank you so much for sharing such a great system!

I was trying to implement it on a new UE5 project but after doing all the setup, adding the character BP to the map and trying to move ingame, engine crashes with the following error:

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000000001c4

UnrealEditor_Dwarf!UClimbComponent::IsClimbing() [D:\Unreal Projects\DWARF\Source\Dwarf\CustomComponents\ClimbComponent.cpp:471]
UnrealEditor_Dwarf!ADwarfCharacter::MoveRight() [D:\Unreal Projects\DWARF\Source\Dwarf\DwarfCharacter.cpp:110]
UnrealEditor_Dwarf!TBaseUObjectMethodDelegateInstance<0,ADwarfCharacter,void __cdecl(float),FDefaultDelegateUserPolicy>::Execute() [D:\UE_5.0\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:594]
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
kernel32
ntdll

It seems that somehow, MovementComponent (ClimbComponent in my case) is null when Character class tries to make use of it.

I've checked the comments in the blog about it but with no avail, as no answer on how they fixed it was available, unfortunately.

Any idea what could be wrong?

I'm adding the code in here just in case I've missed something.

https://gist.github.com/arkanos/d5edbd60afc11a5931f96eae66038535

Any help would be very much appreciated!

@why470
Copy link

why470 commented Feb 28, 2024

did you ever fix this? I am having the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants