Search Issue Tracker

In Progress

Fix In Review for 1.21.20, 2.0.4

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 (2)

  1. Luchianno

    Sep 29, 2023 01:09

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

  2. 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.