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
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,
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [sw-unity-6-1] UI Toolkit Debugger's "Pick Element" functionality does not work when hovering on any Editor panel except the Game view
- [Silicon] Crash with multiple StackTraces when entering Play Mode in a project with corrupted FBX files
- Index Out Of Range exception when trying to use Rendering Layer Override in Probe Adjustment Volume without a mask defined in lighting settings
- [Android] [Vulkan] [WebCamTexture] "WebCamTexture.Play" crashes the application when the camera is started
- Huge performance overheads appear when there is a large amount of bindings in the UI Toolkit
Eviral
Jan 25, 2018 22:29
can't switch to 2017.1 !!! Please fix this bug !!!
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 :(
amjaliks
Sep 21, 2017 23:29
Any estimates when this could be fixed? We should stay with 5.6 because of this issue too.
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?