Particles not showing in game

Hi there,
i dont get to see the particles in game mode, talking about all three. success, death and main.
when “play on awake” is selected and i start that game everything works fine
i assume there is something wrong with the code, the effects are working when being forced on start.
i wrote the code exactly like in the course, after reading here i tried playing with the code, adding this is as well but didnt help
if (!audioSource.isPlaying)
{
audioSource.PlayOneShot(mainEngine);
}
if (!mainEngineParticle.isPlaying)
{
mainEngineParticle.Play();
}
the thing is that also the death and success doesnt work for me… again, the code is exactly like it was written in coure.
im using unity 2019.4.16f

would highly appreciate if someone would help.

1 Like

Hi @mitzi,

Welcome to our community! :slight_smile:

If all three particle systems are not working, check if the exposed fields in the Inspector of the Rocket in the Hierarchy are referencing child game objects of the Rocket. Ideally, these game objects should have a particle system attached.

Do not reference the particle systems from your Hierarchy because they are not in your scene.

Please let me know if this helped you fix the issue. :slight_smile:


See also:

1 Like

Thank you! This helped me out tonight!

I’m happy that I was able to help. :slight_smile:

1 Like

Hi Nina,
Sorry for the late reply, it was a busy week.
It did worked for me! Thank you very much!

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.