- Home /
SetPropertyBlock doesn't work for particle systems?
I managed to use Unity for years without realizing I was creating orphan materials with every write to material.whatever
I've since replaced every call thereof with a call to Get- or SetPropertyBlock. With one exception: Particle Systems.
Trying to do this to a particle system's renderer compiles and runs but does not produce the desired runtime change to instances of that particle system. It's as if that code accomplishes nothing at all.
Any chance I get I'm calling Resources.UnloadUnused to address the leak, but it's still bugging me.
Still on 4.6
Thanks for any insight,
Another bump - this workaround seems unacceptable for a commercial project.
Your answer
Follow this Question
Related Questions
Changing two different objects renderer colour 1 Answer
Blast Particle Gets Cut Off 0 Answers
Changing Shaders HDR Color results in different Color. 1 Answer
How to Access particleSystemRenderer 3 Answers
Material Color Won't Change On Input 1 Answer