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

Package: Build Pipeline - Addressables

-

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

  1. Resolution Note (fix version 1.19.18):

    Fixed in: 2019.4.0f1 and above

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.