Skip to content

InputSystem in OnStart and OnDestroyed #1221

@iamteapot422

Description

@iamteapot422

InputSystem subscriptions should be in OnEnable and unsubscribes should be in OnDisabled in all files, so input actions won't trigger disabled scripts. Currently this causes null reference erorrs, because OnEnables in subscribers are called before OnAwake in InputSystem. Figure out how to fix this without changing the code execution order.

Metadata

Metadata

Labels

Bug: UnconfirmedBugs that need to be confirmed by a another contributor.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions