Unity Issue Tracker - "OnPointerEnter" function doesn't activate when hovering mouse cursor over a nested Canvas UI element
Closed
UUM-20789
"OnPointerEnter" function doesn't activate when hovering mouse cursor over a nested Canvas UI element
Unity: uGUI
Won't Fix
2023.1.X
2022.2.X
2022.1.X
2021.3.X
2020.3.X
2022.1 has reached end of life so the issue will be fixed in a newer version.
How to reproduce:
1. Open the attached user project “My project.zip“
2. Open Scene “SampleScene“ (Assets/Scenes)
3. Enter Play Mode
4. Hover the mouse cursor over the “With Canvas“ GameObject (the GameObject on the right)
Expected result: The text changes from “Pointer Off“ to “Pointer Over“
Actual result: Text stays the same