Input in my blueprints do not work!

Helloo! I followed a series of tutorial for input, but in my plueprint a simple input don’t work :frowning:

This is my simple blueprint:

Is that a Level Blueprint or an Actor Blueprint? If it’s not a Level Blueprint it may fail because by default actors have input disabled.
You have to change it in the Class Defaults panel.

image

If that’s not the case you may be using the same input somewhere else that has priority over inputs in that particular BP, in which case you have to set the priority for inputs.

image

But I would try to avoid spreading inputs across your blueprints, that will cause problems at some point. In my experience it’s better to keep them in the Player blueprint or in the Blueprint/class you use to manage the player’s actions.

4 Likes

It worked. Thanks in advance :grinning:

It do not work :frowning:
I tried also EnhancedInputAction but it do not work!

Idk, could be a problem with playerController?

hi @erym03

Have you mapped the input mapping context to your local player subsystem?

https://docs.unrealengine.com/5.1/Images/making-interactive-experiences/Input/enhanced-input/image_7.webp

Make sure you set your mapping context to the correct one in the add mapping context node

Hello man!
Yess, I mapped this, but it still do not work.
But, the same Input works in my Camera Object, and I do not know why :frowning:

do you have it in more than 1 place at the same time? im guessing as its consuming the input only 1 is recieveing the data (the camera)

just check by disconnecting the mapping from every thing except the player

Mhh how can I do this?
In every case, in my actors, consume the input is checked OFF.

the consume input is in the input action not the player

the mapping of the input mapping context (the image i put earlier) should ONLY be in the player blueprint nowhere else

RESOLVED!!

I need to get my BP Actor, and set it as a DEFAULT PAWN ACTOR .

I still do not know why I can’t set the input in every actor I want, but now i resolved my problem with my character. Thanks!!

you can i was testing to see if something wasnt blocking by consuming the input.

Yes setting default pawn is good, but setting the auto possess player 0 should have worked exactly the same.

either way glad you sorted

I tried, but when i set in another BP “auto posses player” on, the main character do not work :frowning:

well it would, if you set a different BP to auto then you control that not you main player

you can only possess 1 character so make sure its set either the default spawn and every other character NOT auto possess

or auto possess the character you want