Skip to content

InteractableButtonWithFocusEvents produces error on destroy #51

@RogerHestad

Description

@RogerHestad

When you stop the program in the editor, InteractableButtonWithFocusEvents will produce a NullReferenceException on line 103.

The line tries to access the inputManager instance and it seems this does not exist anymore.

Suggestion:
Add a null test for inputManager before trying to access it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions