Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

Control Track causes massive FPS drop when the clip is on "HOLD"?

Discussion in 'Timeline' started by LezTusi, Feb 11, 2019.

  1. LezTusi

    LezTusi

    Joined:
    Nov 15, 2014
    Posts:
    32
    I'm using the control track to control my particles inside the timeline, and it's really useful in sequencing, but one thing that bothers me when doing this is when I want the control track to play longer and it reaches the HOLD wrap and the whole game lags from there. Here's how it affects the performance:

    upload_2019-2-11_14-41-41.png
    upload_2019-2-11_14-41-3.png
    Normally the FPS is around 300fps.
    And this is how it looks like when it reaches the HOLD on clip.
    upload_2019-2-11_14-50-44.png
    upload_2019-2-11_14-50-13.png

    I'm using 2018.2.0f2 but unable to upgrade to the latest version due to problems with the new prefab workflow.
     
  2. LezTusi

    LezTusi

    Joined:
    Nov 15, 2014
    Posts:
    32
    Thankfully this doesn't happen in game mode, but still... It would be great if this is already fixed in the latest version.
     
  3. Gokcan

    Gokcan

    Joined:
    Aug 15, 2013
    Posts:
    202
    I see the same thing. In my case, it is not only in hold state. Some animations make the frame drops and animation plays slowly. It does not happen in game mode.
     
  4. thierry_unity

    thierry_unity

    Unity Technologies

    Joined:
    Jun 10, 2015
    Posts:
    182
    Unfortunately I wasn't able to repro with a simple project, can you open an issue with an attached repro for us to investigate? thanks!
     
  5. LezTusi

    LezTusi

    Joined:
    Nov 15, 2014
    Posts:
    32
    Sure, I'll make one together with the Particle Prefab I'm using soon.
    Another thing I noticed from my screenshot was the huge increase of Tris and Verts when it reaches the HOLD state, I assume these are from the particle I'm controlling.

    Anyway, some info about the prefab (this might help while I'm making repro)
    It's from the Unity Particle Pack named "BigExplosion.prefab"
    https://assetstore.unity.com/packages/essentials/tutorial-projects/unity-particle-pack-127325
    And the particle prefab has children and sub-emitters.
     
  6. Exbleative

    Exbleative

    Joined:
    Jan 26, 2014
    Posts:
    203
    Also seeing it using a control track to control my particles on timeline, not Hold only. Using 2018.3. I drop to about 2 fps.

    Profiler:
    I'm not using any prewarm stuff, so odd it's there.

    upload_2019-7-16_13-24-28.png
     
    Last edited: Jul 16, 2019