Search Issue Tracker

Fixed

Fixed in 1.19.20

Votes

1

Found in [Package]

1.19.18

Issue ID

ADDR-2587

Regression

Yes

[Addressables] Incorrect IResourceLocation.ResourceType after updating to Unity 2020.3.26f1

Package: Build Pipeline - Addressables

-

Reproduction steps:
1. Open project "Addressables_Bugs.zip"
2. Open Addressables Groups window from Window > Asset Management > Addressables > Groups
3. Select Play Mode Script then Use Existing Build from the window
4. Select Build > New Build > Default Build Script
5. Open Scene "SampleScene" and enter Play Mode
6. Observe the log in the Console window, then click it.

Expected result: Content isn't built into duplicate location
Actual result: Content is built into duplicate location

Reproducible with: 2020.3.25f1, 2020.3.31f1, 2021.2.15f1, 2022.1.0b11, 2022.2.0a7
Not reproducible with: 2019.4.36f1, 2020.3.24f1

Comments (2)

  1. omg_peter

    Apr 07, 2022 14:57

    I didn't realize it at first but I guess now there are two resource locations returned, the first being the "AssetReference" and the second being the expected type. If I use the second result I get the same behavior from 2020.3.22.

  2. omg_peter

    Apr 07, 2022 00:34

    Upgraded from 20202.3.22 to 2020.3.32 and the returned type now appears to be `UnityEngine.AddressableAssets.AssetReference` instead of the expected ScriptableObjectType.

Add comment

Log in to post comment