My 2D character won't move in UE5 not matter what I do

Hello,

I tried to do three different 2D games with c++ coding for UE 5.3 (course: Unreal Engine 2D: Make Your Own Epic 2D Games Using C++), using enhanced inputs, paper2d or paper ZD plugin, I did every step and everything went great with the code everytime I rebuild but, when I tested any of the games, the character won’t move. I tried everything…literally EVERY TRICK in the book, went through all the possible problems and solutions chatting with Gemini, the code stills compiles with not errors and even printed the springs of the Action Inputs…which means the code is binding right?, but for some reason the character just won’t move (yes I modified the default game Mode, player controller class and auto possesed player…As I said…EVERYTHING) What am I do it wrong?

1 Like

I would say as every developer will do. Start debugging, like does the object receives instructions to move and what the parameter and values are. Log from user input though all the functions till the end point, interaction with the object.

Are you sure the object visible is the object invoking the instruction.

etc.

Hi,
Have you posted in the course Q&A?
One of the most common mistakes with Unreal is not closing unreal to compile the code. Often things won’t work as expected.
Most likely something has been missed in connecting the Blueprint to the C++
Use the course Q&A and post some screenshots of the player blueprint and share the underlying code. Start with the first game, desert racer and let’s get it working and it will help with the following sections.