ERROR when using Generate Death Event in Niagara

When I go to add generate death event to my particle emitter I get a error that says it can not compile it, as well as my particle spawn and particle update erroring out. Anyone have any experience with this error?

In the Niagara Log it should tell you what you need to do. In my case it told me to turn on “Before the Particles.ID parameter can be used, the ‘Requires persistent IDs’ option has to be activated in the emitter properties.”
And it should work afterwards.