Couldnt Trigger OnMouseEnter event callback

In Project Setting/Player/Active Input Handling

using only New Input System Package(New) wont trigger OnMouseEnter event callback.
must active the old input system, this function will fine.

https://docs.unity3d.com/Packages/com.unity.inputsystem@1.0/manual/KnownLimitations.html

Features Supported by Old Input Manager

  • MonoBehaviour mouse methods (OnMouseEnter, OnMouseDrag, etc) will not be called by the Input System.

This should help: OnMouse events (e.g. OnMouseEnter) not working with new Input System - Questions & Answers - Unity Discussions