Particles Instantiate doesnt show up (Hidden behind background image)
As you can see in the pictures below im using 2 Particle Systems that i want to play with the Instantiate method like the following: Instantiate (deathSplash, other.transform.position, Quaternion.identity); Instantiate (deathSplash2, other.transform.position, Quaternion.identity);
when the player runs into an obstacle, like the pink spike you see on the picture for example. Both particle Systems show in the Editor and Game View if i just drag them onto it and let them play on loop, but as soon as i try to use the Instantiate method from a script after a trigger event it doesnt show up. My problem is, as you can see in the second picture, that when i run into it the particlesystem gets instantiated and plays, but its hidden behind the backgroundimage, i wasnt able to see any particles at all until i moved it up a bit to see the standard white unity blank background. The problem is not my sorting layers, i already tried that, the background image is in sorting layer -1 and my particle system is on sorting layer 10 so it should definetely play on top of it.
Another idea i had which could cause the problem is that i use a special shader for the background image (Unlit/Texture) because otherwise the Halo effect of the little pink spike that you see and any Halo effect at all doesnt show, if i use any other or the standard shader. I tried switching to Standard shaders for the background image and only then i was able to play the particle system on top of the background image, but its not a solution for me since then the halo effect of any of my obstacle objects doesnt show anymore then.
Does anyone have another solution for this maybe?
[1]: /storage/temp/164397-particlesshow.png
[2]: /storage/temp/164398-particles-hide.png