Skip to content

Commit ced22e0

Browse files
Fixed DefaultInputActions Player **Fire** action missing expectedControlType (Button) in the built-in asset and embedded C# JSON, so validation, rebinding filters, and UI that rely on expected control layout recognize it as a button action again.
1 parent 21456d0 commit ced22e0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Packages/com.unity.inputsystem/InputSystem/Runtime/Plugins/PlayerInput/DefaultInputActions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public @DefaultInputActions()
7373
""name"": ""Fire"",
7474
""type"": ""Button"",
7575
""id"": ""6c2ab1b8-8984-453a-af3d-a3c78ae1679a"",
76-
""expectedControlType"": """",
76+
""expectedControlType"": ""Button"",
7777
""processors"": """",
7878
""interactions"": """",
7979
""initialStateCheck"": false,

Packages/com.unity.inputsystem/InputSystem/Runtime/Plugins/PlayerInput/DefaultInputActions.inputactions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"name": "Fire",
3131
"type": "Button",
3232
"id": "6c2ab1b8-8984-453a-af3d-a3c78ae1679a",
33-
"expectedControlType": "",
33+
"expectedControlType": "Button",
3434
"processors": "",
3535
"interactions": "",
3636
"initialStateCheck": false,

0 commit comments

Comments
 (0)