Search Unity

Bug MouseUpEvent being executed twice from different places

Discussion in 'UI Toolkit' started by Kan15hkSMT, Jun 9, 2020.

  1. Kan15hkSMT

    Kan15hkSMT

    Joined:
    Nov 13, 2019
    Posts:
    37
    When I register a callback using the MouseUpEvent I see the that callback being executed twice for one click.
    Here are the 2 call stacks:
    Screen Shot 2020-06-08 at 4.54.27 PM.png

    Screen Shot 2020-06-08 at 4.54.45 PM.png
     
  2. uMathieu

    uMathieu

    Unity Technologies

    Joined:
    Jun 6, 2017
    Posts:
    398
    When using the preview package, on the EventSystem, only have IMGUIEvents check or InputEvents, not both. This will be modified in the next release.
     
    Kan15hkSMT likes this.