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
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)
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
- [Quest] Pitch Shifter causes audio degradation on Quest 2 devices when sped up
- "GUI Error: Invalid GUILayout" and "NullReferenceException" are thrown when adding Scenes to "Scenes in Baking Set" in Adaptive Probe Volumes
- Inspector window not updating when switching GameObjects in Play Mode while having a VR headset connected
- "UnityException: GetName can only be called from the main thread." erors are thrown when the Shortcuts window is opened and entering Play Mode with a shortcut
- [Android] Light2D visuals stacking over frames when using RenderGraph
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.
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.