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
Assert.That(scene.eventSystem.currentSelectedGameObject,Is.SameAs(scene.rightGameObject),"Right navigation did not work when localMultiPlayerRoot was set");
2798
+
2799
+
// Move left
2800
+
Set(gamepad.leftStick,Vector2.zero);
2801
+
yieldreturnnull;
2802
+
Set(gamepad.leftStick,newVector2(-1,0));
2803
+
yieldreturnnull;
2804
+
2805
+
Assert.That(scene.eventSystem.currentSelectedGameObject,Is.SameAs(scene.leftGameObject),"Left navigation did not work when localMultiPlayerRoot was set");
Assert.That(scene.eventSystem.currentSelectedGameObject,Is.SameAs(scene.rightGameObject),"Right navigation did not work when localMultiPlayerRoot was null");
2823
+
2824
+
// Move left
2825
+
Set(gamepad.leftStick,Vector2.zero);
2826
+
yieldreturnnull;
2827
+
Set(gamepad.leftStick,newVector2(-1,0));
2828
+
yieldreturnnull;
2829
+
2830
+
Assert.That(scene.eventSystem.currentSelectedGameObject,Is.SameAs(scene.leftGameObject),"Left navigation did not work when localMultiPlayerRoot was null");
2831
+
2832
+
// Submit
2833
+
PressAndRelease(gamepad.buttonSouth);
2834
+
yieldreturnnull;
2835
+
2836
+
Assert.That(scene.leftChildReceiver.events,Has.Exactly(1).With.Property("type").EqualTo(EventType.Submit),"Submit event was not received when localMultiPlayerRoot was null");
Copy file name to clipboardExpand all lines: Packages/com.unity.inputsystem/CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,7 @@ however, it has to be formatted properly to pass verification tests.
24
24
- Fixed an issue in `RebindingUISample` preventing UI navigation without Keyboard and Mouse present.
25
25
- Fixed an issue in `RebindActionUI` which resulted in active binding not being shown after a scene reload. ISXB-1588.
26
26
- Fixed an issue in `GamepadIconExample` which resulted in icons for left and right triggers not being displayed after a rebind to the exact same controls. ISXB-1593.
27
+
- Fixed an issue where `InputSystemUIInputModule.localMultiPlayerRoot` could not be set to `null` when using `MultiplayerEventSystem`. [ISXB-1610](https://issuetracker.unity3d.com/product/unity/issues/guid/ISXB-1610)
0 commit comments