Thanks for your answer, but there is a difference between my Code and yours. I’m using a pointer to an “UParticleSystemComponent” and you are using a Pointer to an “UParticleSystem”. My Visual Studio knows the identifier “UParticleSystem” but still doesnt know “UParticleSystemComponent” even when I insert “UPROPERTY()” before the declaration. I solved the problem on my own. I looked for the class “UParticleSystemComponent” in the Unreal Engine documentation. At the bottom of this site:
there is a header. When including this header it works. Although I don’t like to include thousands of Headers I did it anyway because I found no other way to solve the problem.