Search Issue Tracker

Fixed in 2018.1.X

Fixed in 2017.2.X, 2017.3.X

Votes

2

Found in

2017.2.0b1

2017.2.0f3

Issue ID

964537

Regression

Yes

Particle emission with Rate Over Distance does not work when moving it in LateUpdate() method

Visual Effects - Legacy

-

Steps to reproduce:
1. Open user's attached project
2. Open scene "Main"
3. Play the scene

Expected result: As the gameobject with Particle system attached is moving, the emitter with Rate Over Distance emits particles
Actual result: No particles are emitted when moving the gameobject in LateUpdate()

Reproduced on: 2017.2.0b1, 2017.2.0p1, 2017.3.0b7, 2018.1.0a3
Not reproduced on: 5.6.4p2, 2017.1.2p2, 2017.2.0a4
Regression since 2017.2.0b1

Note: When moving in Update(), emission works on all versions

Comments (8)

  1. ParticipantMark

    Nov 17, 2020 18:29

    Reproduced this issue in 2018.4.26. Worth noting is that a workaround seems to be setting the emission parameters before moving the transform, even if they haven't changed. The Unity example for rate over distance actually does this which may be hiding the issue.

    void LateUpdate()
    {
    ParticleSystem.EmissionModule emission = ps.emission;
    emission.rateOverDistance = emission.rateOverDistance;
    transform.position = newPosition;
    }

  2. StrangeCreaturesStudio

    Aug 09, 2020 21:34

    Also still having this issue - Unity 2020.1.1f1. Particle System using Emitter Velocity: Transform and its parent gameObject's position being set on LateUpdate(). When using Update() it works fine

  3. shogoki_vnz

    Jul 28, 2020 04:00

    Issue is back, I've reproduce this issue in Unity 2019.4.4f1

  4. JSC-Sparkling

    Oct 10, 2019 12:46

    I've reproduced this issue in Unty 2017.4.22f1, 2017.4.29f1 and 2017.4.33f1.
    Not reproduced in 2018.3.7f1

  5. xushunwangdh

    May 28, 2019 03:08

    Hey,I'm using 2018.4.0f1.It seems i'm encountering the same issue.

  6. Akielah

    Dec 08, 2017 06:16

    nope still not working!

  7. darthachill

    Dec 06, 2017 14:53

    It's not working...

  8. IgorAherne

    Nov 27, 2017 14:09

    Yes, it's not working in the editor - not even in the Particle System Editor window :(

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.