Search Issue Tracker
Fixed
Fixed in 1.19.18
Votes
14
Found in [Package]
1.17.5-preview
Issue ID
ADDR-2417
Regression
Yes
Unity freezes and Domain Reload is slower after increasing the size of an AssetReference array
Reproduction steps:
1. Open the attached project "AddressablesPerformanceTest.zip"
2. Open "SampleScene"
3. Select the "Test" GameObject in the Hierarchy window
4. Observe Test Array size (5000 AssetReferences)
5. Trigger Domain Reload (for example, reimport Test.cs in the Project window)
6. Change the Test Array size to 25000
7. Observe Unity not responding and wait for it to become responsive
8. Trigger Domain Reload
Expected result: Domain Reload takes the same amount of time regardless of Array size
Actual result: Changing the Array size will cause Unity to stop responding, Domain Reload will be longer the second time (~11 s) than the first (~3 s)
Reproducible with: 1.17.5-preview (2019.4.33f1, 2020.3.24f1, 2021.2.5f1, 2022.1.0b1), 1.19.13 (2019.4.33f1, 2020.3.24f1, 2021.2.5f1, 2022.1.0b1)
Not reproducible with: 1.17.4-preview (2019.4.33f1, 2020.3.24f1, 2021.2.5f1, 2022.1.0b1)
Note: The AssetReferences do not reference 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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note (fix version 1.19.18):
Fixed in: 2019.4.0f1 and above