Success particles do not explode during gameplay

Hello. :slightly_smiling_face:

Strings in the scripts provided in this lesson, uppercase alphabets,
Even if you compare all the Unity screens
I can’t find the answer, so I’m asking.

Currently I am adding success particles and collision particles in this lesson.

In the scene screen, both success and collision particles play fine.

But when I play the game, only the collision particles run fine.
Success particle does not come out… Success audio comes out fine.

I compared all the values seen in the inspector,
I also put all the files that need to be dragged into the script.
I also linked the files on the prefeb properly.

Scripts and strings uploaded to the lecture gitlab, uppercase letters of the alphabet, etc.
No matter how much I checked, I couldn’t fix it.

I am so frustrated that I upload the unity project file. Please help me… :sob:

Hi,

Welcome to our community! :slight_smile:

Are there any error messages in your console? And where is the particle system? Have you already rewatched the video at least one more time and compared your project to Rick’s?

Hello Nina :slightly_smiling_face:

What’s even more absurd is that the error message does not appear in Visual Studio, the console window, or when playing the game.

Continuing to play the video, I downloaded Rick’s project from Gitlab and compared both the movement script and the collisionHandler script.

The particle system is not a child of a game object that gets destroyed, is it?

Maybe you could pause your game when you expect the particle system to “explode”. Then check your Hierarchy whether the particle system is still there.

If it is there: Do you call the Play method on it or is “Play On Awake” enabled in the Particle System component in the Inspector?

Hello Nina. :slightly_smiling_face:
I found a solution.

I dragged the successParticle from the project window to the Rocket’s inspector.

I should have dragged it from hierarchy to Rocket’s inspector,

Because this part is not done properly
It was very difficult because there was no particular error log.

(Rick also mentions in the lecture video not to drag in the project window…TT)

Thanks Nina!

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

Privacy & Terms