User avatar
peanut
Topic Author
Posts: 24
Joined: 10 Oct 2023, 16:44

VisualStateManager From MouseOver Raycast

13 Nov 2023, 17:32

Hello,

I am using VisualStateManager and I noticed that using:
<VisualTransition GeneratedDuration="0:0:2" From="MouseOver">
does not trigger if you go Off the button, with the ray from the controller, into empty space. It triggers eventually when you hover over any other UI element.
It works fine in Blend, triggers right away when you go Off the button, but in Unity it stays locked in hovered state until the ray hits another element.

Is there something I am missing in Unity? Or is it a bug?

Thank you!
 
User avatar
peanut
Topic Author
Posts: 24
Joined: 10 Oct 2023, 16:44

Re: VisualStateManager From MouseOver Raycast

13 Nov 2023, 17:36

Here is a recording of it from Unity: https://www.dropbox.com/scl/fi/ihxdb3nv ... xbzjp&dl=0
 
User avatar
jsantos
Site Admin
Posts: 3959
Joined: 20 Jan 2012, 17:18
Contact:

Re: VisualStateManager From MouseOver Raycast

15 Nov 2023, 16:45

Nice soundtrack! haha

Please, create a ticket for this and I will provide a patch for testing.
 
User avatar
peanut
Topic Author
Posts: 24
Joined: 10 Oct 2023, 16:44

Re: VisualStateManager From MouseOver Raycast

15 Nov 2023, 17:14

Reported, thanks!

Sorry for the music, didn't want to make the bug more "epic" or something :)
Forgot to disable sound recording...
 
User avatar
jsantos
Site Admin
Posts: 3959
Joined: 20 Jan 2012, 17:18
Contact:

Re: VisualStateManager From MouseOver Raycast

15 Nov 2023, 18:35

:)

Thanks for the ticket (#2837). Let's continue there!

Who is online

Users browsing this forum: Ahrefs [Bot], Semrush [Bot] and 6 guests