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
- [ARM] The Player freezes when awaiting "g_UploadedTextureCondVar" in the Main Thread
- Crash/Freeze when opening a specific project
- Empty window appears when hovering over UXML Asset in UI Builder
- Tooltip is offset when hovering over a serialized field in the Inspector
- [Linux] Searchable context menu instantly closes when attempting to open it
Resolution Note (fix version 1.19.18):
Fixed in: 2019.4.0f1 and above