Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Start Delay of Particle System doesn't work when Timeline is available?

Discussion in 'Timeline' started by prayshouse, Jan 11, 2018.

  1. prayshouse

    prayshouse

    Joined:
    Sep 11, 2017
    Posts:
    27
    I set a start delay of a particle system as 0.04s. Then I create a timeline to control it. But the particle system begin to emit when the current time of timeline just arrives at 0.03s. It seems the start delay doesn't work when I use a timeline to control it. Why is that?

    I use Unity2017.3.0f3, and the Update Method of timeline is Game Time.
     

    Attached Files:

  2. prayshouse

    prayshouse

    Joined:
    Sep 11, 2017
    Posts:
    27
    I have got 3 times.
    The first one is the current time. [Time.Time](https://docs.unity3d.com/ScriptReference/Time-time.html)
    The second one is the particle system time with timeline. [ParticleSystem.time](https://docs.unity3d.com/ScriptReference/ParticleSystem-time.html)
    The third one is the particle system time without timeline. [ParticleSystem.time](https://docs.unity3d.com/ScriptReference/ParticleSystem-time.html)

    And I found the first one and second one has the same value. The third one has the right start delay, 0.04s.
     

    Attached Files:

    • root.png
      root.png
      File size:
      45.5 KB
      Views:
      1,009
  3. seant_unity

    seant_unity

    Unity Technologies

    Joined:
    Aug 25, 2015
    Posts:
    1,516
    It looks like you may have a found a bug. If you could submit it with a repro case, it would be much appreciated.
     
  4. prayshouse

    prayshouse

    Joined:
    Sep 11, 2017
    Posts:
    27
    1. Import the package timeline_bug_repro_2017.3.0f3.unitypackage.

    2. Open the scene Assets/Scene/Test/Test.unity.

    3. Click the Pause Button.

    4. Click the Play Button.

    5. Click the Step Button again and again.

    6. In the Game view, you can see the two effect with the same start delay, 0.04s, shows different.

    7. In the Console window, you can see the 3 types of time. The C# script is bind with the Main Camera.
     

    Attached Files: