Search Issue Tracker

Fixed

Fixed in 1.21.20, 2.0.8

Votes

5

Found in [Package]

1.21.17

Issue ID

ADDR-3516

Regression

No

Errors are thrown when using the "Local Group" Addressable Group and analyzing Addressable Assets in the Profiler

Package: Addressables

-

How to reproduce:
1. Open the “IN-54157_repro“ project
2. Enter Play Mode
3. Select anywhere on the Addressable Assets Module in the Profiler window
4. Observe the Console

Expected result: No errors are seen
Actual result: Errors are seen

Reproducible with: 1.21.17 (2022.3.10f1, 2023.1.14f1, 2023.2.010b, 2023.3.0a6)
Could not test with: 1.21.17(2021.3.30f1)

Reproducible on: Windows 10
Not reproducible on: No other environment tested

Notes:

* The second error is not always thrown
* Errors: KeyNotFoundException: The given key '-1296155913' was not present in the dictionary.
System.Collections.Generic.Dictionary2[TKey,TValue].get_Item (TKey key) (at <605bf8b31fcb444b85176da963870aa7>:0) UnityEditor.AddressableAssets.Diagnostics.AddressablesProfilerDetailsView.GetAssetDataForFrameData (UnityEngine.ResourceManagement.Profiling.AssetFrameData frameData, System.Collections.Generic.Dictionary2[TKey,TValue] bundleCodeToData) (at ./Library/PackageCache/com.unity.addressables@1.21.17/Editor/Diagnostics/Profiler/AddressablesProfilerDetailsView.cs:510)

Unable to create a details view for the module 'Addressable Assets'. The given key '-1296155913' was not present in the dictionary.
UnityEditor.ProfilerWindow:set_selectedModule (Unity.Profiling.Editor.ProfilerModule)
Unity.Profiling.Editor.ProfilerModule:OnChartSelected (UnityEditorInternal.Chart)
UnityEditorInternal.Chart:ChartSelected ()
UnityEditorInternal.Chart:DoGUI (UnityEngine.Rect,Unity.Profiling.Editor.ProfilerModuleChartType,int,UnityEditorInternal.ChartViewData,bool)
UnityEditorInternal.ProfilerChart:DoChartGUI (UnityEngine.Rect,int,bool)
Unity.Profiling.Editor.ProfilerModule:DrawChartView (UnityEngine.Rect,int,bool,int)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Comments (4)

  1. timtunity3d

    May 28, 2024 17:16

    Hi, Unfortunately this error occurred in multiple places and we didn't get them all the first time. This should be completely fixed in the next Addressables release.

  2. juna8001

    May 23, 2024 07:21

    I'm still having this issue

  3. Luchianno

    Sep 29, 2023 01:09

    +1, Having same issue with Addressables 1.21.18 and Unity 2023.1.14f1

  4. DeathPro

    Sep 26, 2023 06:54

    Any updates on this?

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.