I’m currently working on a VFX system for my project. I have different Niagara assets that are spawned based on an actor’s health value (fire, smoke, etc).
The problem I’m having is that some of these effects are invisible on spawn. I originally believed they were not spawning, but after researching a bit I found out that they are there, but they can’t be seen. If you click in the actor you can see the underline around where the vfx should be.
I can’t find something in the assets that may cause this issue and I’ve also found out that they work as intended if I attach them directly to the actor (in the blueprint). I guess then that my problem has to be in the way I spawn the niagara systems in code. I’m using the function UNiagaraFunctionLibrary::SpawnSystemAttached
and I set all the parameters except the default ones. This has to be working somehow because all systems spawn, and only some of them are invisible, but I don’t know if some of the parameters might cause this issue.