I have a problem with certain callbacks of UI Toolkit.
In my project, I am registered to MouseEnterEvent and MouseOutEvent callback of Visual Element. I noticed that when entering the element with my mouse and moving the mouse inside of it, MouseEnterEvent is called multiple times instead of just one. The same applies to MouseOut, which is also called multiple times when the mouse is being moved inside of the element.
I guess this is a bug, since I would not expect that behaviour from the names of these events.
Hi, yes I’m experiencing the exact same thing! I’m also using the new Input System and now I remember that the problems arose around the time we switched from the old one to the new one in our project.
Thanks for submitting a report. Hope this gets fixed in one of the next few packages.
Do you have a link to the bug report? Can’t seem to find it with the case ID