Particles not showing when destroying brick

Hi all,

I’ve followed the code from the course exactly, and also tried the Unity 5 Update (I’m running Unity 5.5.1f1)

If I simulate a particle system inside of the game, it works fine, but when I drop the prefab - which is identical to the one I dropped in the game to test, it doesn’t playback on screen.

I can see in the Hierarchy on the left that the explosion(clone) is created whenever a brick is broken, so the script is correctly triggering it, and there aren’t any errors or warnings logged in the console, but the particles don’t show at all on screen when playing back.

Any ideas?

I’ve just played the game with the Game and Scene window side by side, and the scene window displays the particle icon where the brick was, so the system works fine.

For some reason, if the particles are attached to an object, they become invisible, but they display fine if they are on its own on screen with the exact same settings.

Really confused by it.

Just tried the setting the sorting layers in unity 5 as discussed in other threads - setting the particles to the foreground and background to the background - but still not working.

Fixed it, I’m an idiot.

I unticked “Play On Awake” Thinking it would meant that any time the level starts it would run - I guess I thought so because After Effects has a similar thing.

Make sure you have “PLAY ON AWAKE” on and that’s it :slight_smile:

Thanks for posting! I had the same issue.

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