Niagara Beam Variable (Actor)

I am trying to switch my Particle System Beam to Niagara System Beam.

When I try to set the Beam End using “Set Niagara Variable (Actor)” it does not work.

Is there something I am missing?

This is the scratch setup

This is the Beam setup

This is the blueprint

I found this post which said that “Actor Component Interface” can’t be changed at runtime.

I change the user variable to vector and just get actor location.