AnimNotify does not trigger

When I use AnimNotify on the dedicated server, if I enable RootMotion, AnimNotify does not trigger. If RootMotion is not enabled, it runs very well. There is no such problem in the editor.