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

Shuriken

-

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. Dd0440d1235f8586554551839f56076b?d=mm

    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. E524002b4c2b5fafc5f2faf19014abcc?d=mm

    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. 396312321711269ea8cda6a31b7e60c8?d=mm

    shogoki_vnz

    Jul 28, 2020 04:00

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

  4. 76a732f8dd22f6c5e0e7c57f2a009548?d=mm

    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. 554d647be984ef92e9124c5033664dbc?d=mm

    xushunwangdh

    May 28, 2019 03:08

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

  6. F946502772814b840a5b5085c0e6a94c?d=mm

    Akielah

    Dec 08, 2017 06:16

    nope still not working!

  7. Cdfe103feb02ef78b5852a61da22456f?d=mm

    darthachill

    Dec 06, 2017 14:53

    It's not working...

  8. 81dac8fed002588a4ef1226f793096b9?d=mm

    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.