Spawn System Attached is Not Supported? (Niagara)

I’m spawning a particle system like this.

This way everything works correctly and the effect looks exactly how I want it to.

However I have this disturbing message in the log.

If I spawn the particle system in this other way (At Location).

I have no message in the log. But the effect does not work as I want. It doesn’t look cool.

What should I do?
Is there another way to get what I want and not have warnings in the log?
Could there be problems if I use the “spawn attached” way?
Or maybe some way to not receive that message in the log without having problems later?

Thank you very much!!

Hey @Ivan3z!

You should try building and see if it causes issues. You can get away with this warning, for sure. I believe the issue is being caused by the niagara variable being removed and re-added. The warning is likely going out when you fire, as the niagara system isn’t set yet, so the variable for it is null.

Maybe try putting a dummy blank niagara system in as a placeholder? That might get rid of the warning.

2 Likes

i will try it.
Thank you very much for your reply.

It works!!
Thank you very much for your help!! :sparkling_heart:

1 Like

In addition, to say that the problem only occurs in window PIE… I just did a test in the editor and in Standalone and it never happens. I must try a build too. But I think you’re right. The execution in window PIE must be slower than in the rest of the modes and therefore niagara is not ready when I fire.

Thx u so much!!

1 Like

After much testing I found out that the problem was the SPHERE variable… I was passing it by reference from the weapon actor to the laser actor.

Then I attached the laser to the weapon and the particle system attached to the laser and the problem disappeared.

So i think it was actually an owner problem.

I hope it help!!

1 Like