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
- Memory leak when a lot of UI elements are spawned and despawned
- Warnings are not logged in the Console window when using external code analyzers
- Errors “TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 288“ appear constantly when Prefab is open
- Crash on PPtr<Shader>::operator or NullException errors spammed in console when calling Dispose() on null GraphicsBuffer with baked Reflection Probes
- “EndRenderPass: Not inside a Renderpass” and other Render Graph errors in the Player when Render Graph is enabled and Overlay UI is used
Resolution Note (fix version 1.19.18):
Fixed in: 2019.4.0f1 and above