Search Issue Tracker

Fixed

Fixed in 1.19.20

Votes

0

Found in [Package]

1.19.18

Issue ID

ADDR-2577

Regression

No

Performance spikes in "AssetInspectorGUI.GatherTargetInfos" when creating Addressable Group with script and selecting any asset

Package: Build Pipeline - Addressables

-

Reproduction steps:
1. Open the attached "1405522.zip" project
2. Go to "ES Test" -> "Create Groups"
3. Open the Profiler Window
4. Enable Deep Profile setting and switch to Editor Profiling mode
5. Select the "test" Prefab asset
6. Observe the Profiler window

Expected result: There are no performance spikes
Actual result: There is a 1-2% performance spike in "AssetInspectorGUI.GatherTargetInfos (FindAssetEntry)"

Reproducible with: 1.19.17, 1.19.18 (2019.4.36f1, 2020.3.30f1, 2021.2.14f1, 2022.1.0b10, 2022.2.0a7)

Notes:
- With 1000 Addressable Groups performance spike is 10-30%
- The performance spikes after selecting any asset (material, script, folder, etc.)
- The issue doesn't reproduce when creating Addressable Group through the "Addressables Groups" window

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.