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?
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.
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.