It may depend on which camera - and which Hikvision NVR - and which firmware. There are many models, many combinations, and lots of versions of firmware.
If you want an answer based on someone else's actual experience - you'll need to supply some specifics of your configuration.
I have a Dahua HDW4431C-A with Software Version 2.420.0000.21.R, Build Date: 2016-07-24
working OK with motion detection under ONVIF in Hikvision NVRs DS-7816N-E2 3.4.96 an DS-7616NI-K2 3.4.96
No (equivalent of) line crossing or intrusion detection though.
But I'd say it works pretty well, I've seen no problems at all.