You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Packages/com.unity.inputsystem/CHANGELOG.md
+31-2Lines changed: 31 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,35 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
8
8
Due to package verification, the latest version below is the unpublished version and the date is meaningless.
9
9
however, it has to be formatted properly to pass verification tests.
10
10
11
+
## [1.1.0] - 2021-08-27
12
+
13
+
### Changed
14
+
15
+
- Modified the fix that landed in `1.1-preview.3` for [any given control being added to an action only once](#same_control_multiple_times_fix).
16
+
* This caused a regression with some setups that, for example, bound the same control multiple times in a composite using processors to alter the value of the control.
17
+
* Internally, a control is now again allowed to feed into the same action through more than one binding.
18
+
* However, externally the control will be mentioned on the action's `InputAction.controls` list only once.
19
+
- Adding `InputSystemUIInputModule` from code now installs `DefaultInputActions`. This is equivalent to the default setup when adding the component in the editor ([case 1259306](https://issuetracker.unity3d.com/issues/input-system-ugui-button-does-not-react-when-clicked)).
// uiModule.actionsAsset now has a DefaultInputActions() asset assigned to it and the various
25
+
// action references point to its actions.
26
+
```
27
+
*`InputSystemUIInputModule.UnassignActions` has been added to remove all actions from the module en bloc.
28
+
```CSharp
29
+
uiModule.UnassignActions();
30
+
```
31
+
32
+
### Fixed
33
+
34
+
- Fixed an issue where mixing test cases based on `InputTestFixture` (using mocked `InputSystem`) and regular test cases (using real `InputSystem`) would lead to static state leaking between test cases causing random failures and unexpected/undefined behavior ([case 1329015](https://issuetracker.unity3d.com/product/unity/issues/guid/1329015)).
35
+
- Fixed `InputSystemUIInputModule.AssignDefaultActions` not assigning `trackedDeviceOrientation` and `trackedDevicePosition`.
36
+
- Fixed regression introduced by [previous change](#ui_multiple_scenes_fix) where `InputSystemUIInputModule` would not disable actions correctly.
37
+
- Fixed `InputAction.canceled` not getting triggered reliably for `InputActionType.PassThrough` actions when `InputSystem.ResetDevice` was called.
38
+
- Fixed device resets (e.g. happening as part of focus changes) leading to only some actions bound to these devices getting cancelled instead of all of them.
39
+
11
40
## [1.1.0-pre.6] - 2021-08-23
12
41
13
42
### Fixed
@@ -174,7 +203,7 @@ however, it has to be formatted properly to pass verification tests.
-Fixedno `OnPointerExit` received when changing UI state without moving pointer ([case 1232705](https://issuetracker.unity3d.com/issues/input-system-onpointerexit-is-not-triggered-when-a-ui-element-interrupts-a-mouse-hover)).
179
208
-Fixedreferenceto `.inputactions` of `PlayerPrefab` referencedby `PlayerInputManager` beingdestroyedongoingintoplaymode, iftheplayerprefabwasanestedprefab ([case 1319756](https://issuetracker.unity3d.com/issues/playerinput-component-loses-its-reference-to-an-inputactionasset)).
@@ -266,7 +295,7 @@ however, it has to be formatted properly to pass verification tests.
266
295
267
296
#### Actions
268
297
269
-
- Fixedactionsnottriggeringcorrectly when multiple bindings on the same action were referencing the same control ([case 1293808](https://issuetracker.unity3d.com/product/unity/issues/guid/1293808/)).
298
+
- <aname="same_control_multiple_times_fix"></a>Fixedactionsnottriggeringcorrectly when multiple bindings on the same action were referencing the same control ([case 1293808](https://issuetracker.unity3d.com/product/unity/issues/guid/1293808/)).
0 commit comments