- Home /
Instantiated particle system not rendering in game, but visible in scene editor.
I have a particle system that has a basic shader assigned to it. It shows up fine in the game. However when I instantiate this particle system (its location is the same as a parent empty GameOject) it doesn't render in game. I can see the particle emitted in the scene editor however. The parent empty GameObject shows that the particle system is cloned onto it when I run the game.
Any reason why I'm seeing it in the scene editor but not in game ? The particle system is set to a layer that is visible to the camera.
Any suggestions would be appreciated. : )
Thanks, B.
Interesting. I experienced the same problem after switching to U5.
I am having trouble getting this to work. It is visible in the editor, but not the game. Play On Awake is checked, as is Prewarm. What's more is that one of my levels has a mirror, and it shows up in the reflection (in game) but not the regular game world. The editor shows it in both the game world, and the mirror. I am thinking it has something to do with the render layers, but despite toying with the values and such, I can't get it to show up.
Answer by Shkeek · Aug 06, 2015 at 07:05 AM
Make sure "Play on Awake" is set to "ON" if you are instantiating a particle system. Otherwise you will instantiate the particle system prefab and it won't actually play. You can see the prefab being instantiated in the Hierarchy, and when you click "Simulate" it will actually show you the particle system.
Your answer
![](https://koobas.hobune.stream/wayback/20220613185945im_/https://answers.unity.com/themes/thub/images/avi.jpg)