How to load VFX graph on runtime?

I have an objact that is instantiated on runtime, and this object has a VFX graph asset attached to it. However, when i load the game it throws an error saying that no asset path found. How di i correctly instantiate VFX graph on runtime?