Search Issue Tracker
Fixed
Votes
7
Found in
4.1.0b3
Issue ID
519148
Regression
No
[ScriptingAPI] ParticleSystem.Particle.size and ParticleSystem.Particle.color are equal startColor and startSize of ParticleSyst
ParticleSystem.Particle.size and ParticleSystem.Particle.color are equal startColor and startSize of ParticleSystem. And should update over lifetime of Particle.
Steps to reproduce:
1 Open ParticleSystem_ParticleSystem.Particle scene
2 Choose "Scale 1x" in Hierarchy and go to Inspector (notice that color over lifetime and size over lifetime are checked) and check "Log sizes" in TEST_ParticleSystemParticle section
3 Press "Play"
4 In console you should see:
RGBA(255, 255, 255, 255)
UnityEngine.Debug:Log(Object)
1
UnityEngine.Debug:Log(Object)
which are the same over lifetime of the particles (and equal to startColor and startSize of ParticleSystem).
Comments (3)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Prefab Override popup displays on wrong monitor when Inspector width is resized to minimum
- Scroll View is not moving by inertia after scrolling by click and dragging when Editor window is minimized and Canvas "Render Mode" is set to "World Space"
- "type mismatch error" occurs when the currentDirectionWS output of a Sample Water Surface node is connected to a float3 input
- URP Material Upgrade utility does not enable Alpha Clipping when material had Rendering Mode set to Cutout
- Particle System emission ignores the Sprite Atlas when using a Material that has the "Include in Build" setting unchecked
bugmagnet
Aug 08, 2014 00:02
For anyone who may try to fix it, you can get it to occur also like this:
int smokeCount = smoke.GetParticles(smokeParticles);
for (int i = 0; i < smoke.maxParticles; i++)
{
myVector = smokeParticles[i].position; //works!
myVector2 = smokeParticles[i].size; //doesn't work
}
bugmagnet
Aug 07, 2014 23:57
Yea just ran into the same issue today. Lame.
exerion
Feb 13, 2014 01:11
This bug has been around for almost 2 years...
http://answers.unity3d.com/questions/220792/shuriken-particlesize-returns-start-size-not-actua.html
...please fix it.