Skip to content

Disabling action while button is pressed breaks functionality #538

@danielheim

Description

@danielheim

When disabling an action via a button press, the input is not functional after re-enabling. Even though the action is present in the Input Debugger.

I have attached a sample MonoBehaviour, which demonstrates the issue while attempting to re-enable via the Update loop or via a Coroutine.

I have also been able to trigger this issue, by disabling the action by manually disabling a MonoBehaviour which calls Action#Enable/Disable, via OnEnabled/OnDisabled calls respectively.

This issue is present in 0.2.6-preview, and appears to still be present in the latest commit in today's develop branch.
This is with Unity 2019.1.0 (RC) on Mac, using PS4 and XBox 360 joypads.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssues where existsing functionality misbehaves

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions