[Case 1400904] Second multiplayer event system breaks Transition Color Tint

The second multiplayer event system makes the buttons darker. And another effect - the buttons flash when the windows folder is on top of the game.
When I manually turn off second multiplayer event system - the colors are restored.
When I change button transition from Color Tint to none - shading disappears.
It looks like all colors are applied at once (Normal, Highlighted, Pressed, Selected, Disabled)

Windows 10 21H2
Unity 2020.3.27f1
Input System 1.3.0
Universal RP 10.8.1

Just checked, this bug is reproduced in the built-in render too. To reproduce the bug:

  • New 3D project
  • Create a Button
  • Delete EventSystem
  • Install Input System 1.3.0
  • Add Multiplayer Event System to Canvas
  • Select Player Root (Canvas)
  • Play
  • check color (ok)
  • duplicate Canvas
  • check color (the colors have darkened)
  • turn off one Multiplayer Event System
  • check color (colors restored)

In the version of Input Systems 1.2.0, the bug is not reproduced.

I think I found what causes this bug. CanvasGroup.interactable{ get; set; }
https://github.com/Unity-Technologies/InputSystem/commit/da6732ae05cea19b691043cb94f31bba79e09c2a#diff-cd2f6d202d9e3bbf493ee2cbc93b068453c63d1c4125dcc9dc3cfeb6ce93aa93R105

Additionally in the profiler I get every update too many (~36 from every MultiplayerEventSystem) UIBehaviour.OnCanvasGroupChanged in MultiplayerEventSystem.Update()

I get the same behavior if I add this script to a canvas group, without any input system, just a canvas group and a button inside.

public class CanvasGroupBreaker : MonoBehaviour
{

    CanvasGroup canvasGroup;
    void Start()
    {
        canvasGroup = GetComponent<CanvasGroup>();
    }
    void Update()
    {
        canvasGroup.interactable = !canvasGroup.interactable;
        canvasGroup.interactable = !canvasGroup.interactable;
    }
}

I hope this bug will be noticed and fixed by the unity staff. Or If you know how to get around this please tell me.

7871254--1000297--interactable.png

Same issue. Like a dummy, I worked around the zany coloring problems by redesigning all my Selectable coloring schemes. Then I coded around some of the other glitches, only to discover 2 more new issues.

Unity successfully reproduced this issue. Please vote.

2 Likes

Please, keep voting that issue, I sill have it in version 2022.1.7f1