Search Issue Tracker

Not Reproducible

Votes

20

Found in

2017.1.0f3

Issue ID

930009

Regression

Yes

Pointer events are triggered when UI object's scale is set to 0 on certain axes with Canvas set to Screen Space - Camera mode

uGUI

-

To reproduduce:

1. Download and open attached "repro930009.zip" project.
2. Open "New Scene" scene.
3. Enter Play mode.
4. Try moving mouse cursor on and off game Window.

Expected result: When moving mouse on and off game window nothing happens. OnPointerEnter and OnPointerExit are triggered only when mouse is over the object with the script.
Actual result: When moving mouse on and off game Window OnPointerEnter and OnPointerExit functions are triggered.

Reproduced with: 2017.2.0b3, 2017.1.0f3, 2017.1.0a4.
Not reproduced with: 2017.1.0a3, 5.6.3p2. 2018.3.0a1
Regression introduced in: 2017.1.0a4.

Notes: Notice that this only happens when Rect Transform component of the object has scale of certain axes set to 0. In this case Canvas/Image/Image1 object has it's x and y axes set to 0. Also,

Comments (4)

  1. Eviral

    Jan 25, 2018 22:29

    can't switch to 2017.1 !!! Please fix this bug !!!

  2. odysoftware

    Sep 23, 2017 22:16

    I think the issue is a bit more severe than initial thought..., fixing all the scales to something higher than zero works but the problem is that using any Vector2 instead of Vector3 in scripts causes the z scale to be automatically 0 :(

  3. amjaliks

    Sep 21, 2017 23:29

    Any estimates when this could be fixed? We should stay with 5.6 because of this issue too.

  4. odysoftware

    Sep 01, 2017 12:44

    Hello, its now over 2 month and we still can't switch to new 2017.1 release due to the issues with the canvas in screen-space - camera mode and the event system not working. Is there any estimation when this bug will get prioritized for a release?

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.