- Home /
Question by
nibarder1 · Mar 15, 2018 at 05:32 PM ·
scripting problemgameobjectprefabshadersprogramming
Particle Shaders not rendering if Instantiated
I have a particle system prefab which works if I manually drag it into the scene, but if I use a script to Instantiate that same prefab in, the particles won't render unless the particle material uses the standard shader. Any ideas on how to fix this?
problem.png
(152.8 kB)
Comment
Can you link the inspectors for the instantiated and manually added particle systems?
They are the default particle system. But when added by script, the particles don't render.
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Unable to attach script to GameObject prefab at runtime 0 Answers
Cloned/Instantiated GameObject's Losing Public Variables When Created? 1 Answer
scripting and prefab saving error 0 Answers
Bullet Instantiation 1 Answer