Search Issue Tracker
By Design
Votes
2
Found in
5.3.4f1
Issue ID
795626
Regression
No
[EventSystem] Not all events are intercepted by Event Trigger
Steps to reproduce:
1. Open attached project
2. Open scene "TestScene"
3. Run it
4. Move mouse over the sphere and notice Pointer Enter event triggered on parent cube as well as child sphere
5. While mouse is hovering sphere, scroll mouse wheel and notice that Scroll event is only triggered on sphere
Expected behavior: no events are called on parent object if child one has Event Trigger component attached
Current behavior: some events are called even if child object has Event Trigger component attached
Reproduced with: 5.1.4f1, 5.2.4f1, 5.3.4p6, 5.4.0b18
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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
plucked
Jun 07, 2017 14:56
Why is this by Design when the documentation says its otherwise?
https://docs.unity3d.com/ScriptReference/EventSystems.EventTrigger.html
"NOTE: Attaching this component to a GameObject will make that object intercept ALL events, and no events will propagate to parent objects."