EnhancedInputAction breaking when InputTouch is activated

I’m trying to build a small game for Android, it works well until I complete a task then breaks. It works as expected in the Windows build of the game though. I think this is because I never leave the Enhanced Input Action system.

Expected outcome:

  1. Walk and look around with mobile touch UI (includes pressing buttons and opening menus too)
  2. Go to an object and Inspect it
  3. Clean object with finger (You can enter and exit inspect mode at any time and it works as expected)
  4. When finished cleaning object a little blurb pops up
  5. Exit the blurb
  6. Repeat steps 1 through 5

Current outcome:

  1. Walk and look around with mobile touch UI
  2. Go to an object and Inspect it
  3. Clean object with finger (You can enter and exit inspect mode at any time and it works as expected)
  4. When finished cleaning object a little blurb pops up
  5. Exit the blurb
  6. Can no longer move but I can look around (can’t press buttons or open menus)

My IMC_Default has AI_Look, _Move, _Inspect, _Clean, _Interact, and _Pause. I’m also using the MobileControls. Everything works as expected until I finish cleaning an object. I tried breaking the IMCs in 2, one for movement and one for actions and setting the priorities. This didn’t work and adding more then one Mapping Context into the Project Settings also breaks movement.

I’m stumped!

Show code for Step 4 and 5.

(post deleted by author)

BP_WizardCleaner - This is the cleaning system with touch input. It is in the blueprint for the player character. This starts the finished cleaning event.

WBP_HUD - Event Graph.

WBP_HUD - a function saying which blurb should be shown

BP_WizardHUD - This is a separate blueprint to keep track of what items have been cleaned (it marks off what is cleaned on the WBP_HUD). The second image closes the blurb.


The 3 blueprints shown above.

image

Thank you!

What does Reset Viewport do?

It’s supposed to reset the view so you can look around again after exiting menus and blurbs.

Add a Print String to the end in Reset Viewport

Lets see if it’s being called.

It is being called.

What Engine version are you running?

I am using 5.3.