Search Issue Tracker

Fixed

Fixed in 1.1.0, 2.0.2, 2.1.2

Votes

1

Found in [Package]

1.1.0

2.0.1

2.1.1

Issue ID

SEQ-1436

Regression

No

“UnityEditor.Sequences.SequenceAssetIndexer.InitializeWithExistingData” process runs on Domain Reload when there are more than 10000 Prefabs present

Package: Sequences

-

How to reproduce:
1. Open the “TestProject” project
2. Open the “Assets/TestScript.cs“ script in an IDE
3. Remove line 7 and save the file
4. Open the Editor and observe the Domain Reload process

Expected result: The “UnityEditor.Sequences.SequenceAssetIndexer.InitializeWithExistingData” process is completed within a second
Actual result: The “UnityEditor.Sequences.SequenceAssetIndexer.InitializeWithExistingData” process takes around 5-10 seconds to complete

Reproduced with: 1.1.0 (2021.3.36f1), 2.1.1 (2022.3.20f1, 2023.2.13f1, 2023.3.0b10)

Reproduced on: Windows 10, Windows 11
Not reproduced on: No other environment tested

Notes:
1. Sometimes the “UnityEditor.Sequences.SequenceAssetIndexer.InitializeWithExistingData” process window will appear after Domain Reload completes
2. Not reproducible in a project that has 1200 Prefabs
3. Changing the “Sequences” Package version causes a complete reimport of all the Prefabs

  1. Resolution Note (fix version 1.1.0):

    The InitializeOnLoad function was being called indiscriminately when the sequences package was installed without a sequence or sequence asset in the project. By saving an empty indexer, we avoid the unnecessarily expensive calls.

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.