Search Issue Tracker
Fixed in 2020.2.X
Votes
12
Found in
2019.4
Issue ID
1276078
Regression
Yes
Project Startup time slow due to unmatched Custom Dependencies
When a project with a large number of Prefabs, which have many scripts, is fully imported, and the Editor is restarted, there is a long wait where the Editor spends booting up.
After debugging a user project, we could see that a lot of time was being spent inside of GetPrefabDynamicDependencies.
This was an issue not because of GetPrefabDynamicDependencies being slow, but due to the fact that thousands of Prefabs were being marked as out of date and then this code was being run.
After further inspection, it was evident that the code which was matching the Prefab's custom dependencies was not matching.
This was due to the custom dependency being a script that had not been loaded as the categorization was happening during the InitialScriptRefresh which does not have a Domain with user code in it.
Expected: The Editor should start up quickly if there are not changes to assets.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Clear locked objects” button in the Info tab of the Physics Debugger window has no padding on the right side and has an extra space in between the words “locked” and “objects”
- Renaming the VFX Graph uses "Enter" for a new line and "Enter + Shift" to confirm instead of vice versa
- RasterCommandBuffer.DrawMeshInstanced light attenuation does not work in the Release build Player
- Main thread freezes when right-clicking on the title bar of a windowed Player on Windows
- “Open” button in Inspector does not function for certain Assets
Resolution Note (fix version 2020.2):
Fixed in: 2021.1.0a5