Am I not removing Input Mapping Contexts correctly?

Hi all! So, my problem is, I’m trying to mess with Input Mapping Contexts for the first time (to have the player’s control scheme change from normal movement to special inputs when they enter a mini-game), and I don’t seem to be removing one correctly, because after removal (using the Remove Input Mapping Context node), the input events tied to that IMC are still firing. This is how I’m going about removing the IMC and pushing a new replacement one:

But IMC-specific events like this, ones that originate solely from the IMC_Default mapping context, are still hitting after the removal seen above.

Any pointers? Am I doing anything weird? The removal is happening on the Player Character, which I think is the correct place to do it, but the removal doesn’t seem to be happening at all. Maybe I’m just fundamentally misunderstanding how to use IMCs.

Any help is GREATLY appreciated! Thank you!

Bumping this right quick in the hopes of some help :pray:

This part looks fine.

  • perhaps the cast fails?
  • does the event trigger to start with?
1 Like

Yes to both of those enquiries, just checked. The cast works, and the event triggers.
Discovered a new wrinkle: ALL of the other inputs that are associated with IMC_Default are NOT hitting once the IMC_Default context is removed. Cntrl to crouch, mouse to ‘Use’, all of those DON’T HIT once the associated IMC is removed, which to me says that the removal IS happening properly, but for some reason the one Interact button input is still firing. It’s only the “E” press for Interact (the problem in the initial post) that still hits w/ a breakpoint and causes problems even after its associated IMC is removed.

This is so weird, I’m at a loss.

Holy ■■■■, I figured it out. There was another Enhanced Input Event that a friend who’s helping me with the project had put in a new component attached to the character during an in-progress rework of how our interaction system functions.

Nothing anyone could’ve said on the forum would’ve helped me in this very project-specific instance. Bug fixed. I just had to remove an extra IMC that I didn’t know existed. Massive sigh of relief lol, my world makes sense again. Regardless, thanks for your time Everynone!!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.