Search Unity

Bug Sequence too heavy without timeline playback in Unity 2022.2

Discussion in 'Timeline' started by tsujihaneta, Dec 14, 2022.

  1. tsujihaneta

    tsujihaneta

    Joined:
    Jun 8, 2017
    Posts:
    16
    I use Sequences.
    The environment is as follows.

    Unity 2022.2.0f1
    Sequences 2.0.1

    When checked in the Profiler, the Self ms in
    UnityEditor.Sequences.SequenceIndexer.RecomputeSequencesValidity
    is a very long time because the operation is very heavy, except during timeline playback on the Editor.

    This does not occur in the following environments.
    Unity 2021.3.12f1
    Sequences 1.1.0

    Thank you in advance for your help with the above.
     
  2. tsujihaneta

    tsujihaneta

    Joined:
    Jun 8, 2017
    Posts:
    16
    Having any playable director on the scene now improves performance.
    This is so strange.
     
  3. tsujihaneta

    tsujihaneta

    Joined:
    Jun 8, 2017
    Posts:
    16
    During the update, the following error was missed.
    We do not know what this error means, but it seems to be related to this bug.

     
  4. tsujihaneta

    tsujihaneta

    Joined:
    Jun 8, 2017
    Posts:
    16
    "Library\PackageCache\com.unity.sequences@2.1.0-pre.1\Editor\Core\Utilities\IconUtility.cs"

    If you comment out as follows and restart UnityEditor, the behavior seems to be improved.

    Code (CSharp):
    1.         [InitializeOnLoadMethod]
    2.         [ExcludeFromCoverage]
    3.         static void PreloadIconsOnStart()
    4.         {
    5.             //EditorApplication.delayCall += PreloadIconsWithDelay;
    6.         }
     
  5. JunL_Unity

    JunL_Unity

    Unity Technologies

    Joined:
    May 28, 2020
    Posts:
    18
    Hi there! Thanks for the feedback. We weren't aware of this issue and have now logged it on our end so we'll take a look.

    As a side note, it is normal that this issue wouldn't occur in Sequences 1.1.0. The
    RecomputeSequencesValidity
    mechanism was only added in 2.0.1 when we moved from IMGUI to UIToolkit.
     
    nistake_japan and tsujihaneta like this.
  6. tsujihaneta

    tsujihaneta

    Joined:
    Jun 8, 2017
    Posts:
    16
    I've updated to the latest Unity and the latest Sequences, but it still doesn't seem to be fixed.
    What is the status of this matter?
     
  7. Mori_X

    Mori_X

    Joined:
    Mar 17, 2023
    Posts:
    26
    same problem here
     
  8. shaomang

    shaomang

    Joined:
    Mar 30, 2014
    Posts:
    6
    still slow after 1 year of fixing
     
    nistake_japan likes this.