Search code examples
unity-game-engineunity-containerparticle-system

Type `UnityEngine.ParticleEmitter' does not contain a definition for `minSize'


Hello Guys, I'm getting this Error for last 2 days and unable to Solve it ! This is the Error :

Assets/ParticleScaler/ParticleScaler.cs(101,12): error CS1061: Type `UnityEngine.ParticleEmitter' does not contain a definition for `minSize' and no extension method `minSize' of type `UnityEngine.ParticleEmitter' could be found. Are you missing an assembly reference?

My Unity Version is 2018.2.18f1 . How can this Error be Fixed ?

I also tried on Unity 2019, still unable to Solve it.


Solution

  • UnityEngie.ParticleEmitter became depreciated. Replace it with ParticleSystem.

    2017.4 and earlier: ParticleEmitter will work fully

    2018.3 and later unity versions: wont work at all - ParticleEmitter have been removed from this version.