I've been attempting to Instantiate a particle system using an empty Game Object in front of the player model, however I get errors such as:
"MissingComponentException: There is no 'ParticleEmitter' attached to the "Main Camera" game object, but a script is trying to access it."
As far as I know i'm not accessing anything that should be parented to the main camera, i'm using GameObject.Find() to search for it. I should mention that i've also tried GameObject.FindWithTag() to search for it.
I wish to keep the ParticleSystem as a prefab for future purposes as i'll be giving players only a few of the available weapons/spells, so I won't parent it to the player unless absolutely necessary, I don't want a lone particle system hanging around on a player who hasn't selected to use it from the weapon selection menu.