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
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
- Graphics Compositor breaks Unity rendering when the "Output Camera" is changed to a scene Camera and one Camera SubLayer is active
- The Editor freezes on RenderGraphViewer.Repaint when entering too many characters in search fields without character limits
- Adding a new SubLayer in Graphics Compositor renders BaseLayer darker and makes it flicker
Resolution Note (fix version 1.19.18):
Fixed in: 2019.4.0f1 and above