Engine crashes when play in editor button pressed

Hello
I extended ULyraCharacterMovementComponent to create UQuadrupedMovementComponent_Lyra and started using it in my project which initially was using ULyraCharacterMovementComponent (my project extends ALyraCharacter). Later I decided to revert back to using ULyraCharacterMovementComponent. In order to revert back I did following:

1- Removed the UQuadrupedMovementComponent_Lyra.h and .cpp files from my project
2- Updated ALyraCharacter_Quadruped constructor (my class which extends ALyraCharacter) to stop passing UQuadrupedMovementComponent_Lyra object initializer
3- Deleted “Binaires”, “Intermediate”, “Saved” and “LyraStarterGame.sln”
4- Recreated Visual Studio project files
5- Recompiled the project successfully

Project opens successfully in Unreal engine (I am using UE 5.5.4). However when I try to run it in editor, unreal engine crashes with following message on the screen. I searched online but couldn’t find how to fix the crash. Any help will be greatly appreciated.

P.S: Before I started using UQuadrupedMovementComponent_Lyra, as well as while using it, running the project in editor worked fine; it is only after going back to ULyraCharacterMovementComponent when it started crashing.

This Reddit link resolved my issue: https://www.reddit.com/r/unrealengine/comments/16o9uqz/im_about_to_go_crazy_character_movement_component/

Specifically I followed this suggestion: Class Settings > Details > Class Options > Parent Class ( change to ACTOR and then back to Character )

I did lose some Blueprint settings but it was easier to set them again than starting the project from scratch.

1 Like