AnimNotifyState created from c++ not working in server

I implemented AnimNotifyState in c++ and it worked as I needed, but then I decided to implement the network component. And what is my surprise that AnimNotify, created through Blueprint works normally, Tick, Start, End, without any problems, compared to the implementation in c++: Start triggers, Goes to Tick makes a couple of ticks and disappears, while on the client everything continues to work! If you change montage tick type from Queued to Branching Point, it works more or less, but this is nonsense, why c++ if everything works better on BP. Please help me, I’ve been trying to overcome this for a week!