Search Issue Tracker

Fixed

Votes

0

Found in [Package]

2.3.16

Issue ID

ADDR-3922

Regression

No

Addressables does not work in standalone profiler

Package: Addressables

-

*Steps to reproduce:*
# In a project with Addressables configured
#  Launch Analysis->Standalone Profiler
#  Click in the Addressables section of the window

\\
*Actual results:* 
```
Unable to create a details view for the module 'Addressable Assets'. Object reference not set to an instance of an object
at UnityEditor.AddressableAssets.AddressableAnalytics+AnalyticsUsageData..ctor (UnityEditor.AddressableAssets.AddressableAnalytics+UsageData ud) [0x00037] in .\Library\PackageCache\com.unity.addressables\Editor\Build\AddressableAnalytics.cs:85
at UnityEditor.AddressableAssets.AddressableAnalytics+AddressablesUsageEvent..ctor (UnityEditor.AddressableAssets.AddressableAnalytics+UsageData ud) [0x00008] in .\Library\PackageCache\com.unity.addressables\Editor\Build\AddressableAnalytics.cs:57
at UnityEditor.AddressableAssets.AddressableAnalytics.ReportUsageEvent (UnityEditor.AddressableAssets.AddressableAnalytics+UsageEventType eventType, System.Boolean limitEventOncePerSession, System.Int32 contentUpdateRestriction) [0x0004e] in .\Library\PackageCache\com.unity.addressables\Editor\Build\AddressableAnalytics.cs:639
at UnityEditor.AddressableAssets.Diagnostics.AddressablesProfilerViewController.CreateView () [0x00057] in .\Library\PackageCache\com.unity.addressables\Editor\Diagnostics\Profiler\AddressablesProfilerViewController.cs:38
at Unity.Profiling.Editor.ProfilerModuleViewController.get_View () [0x0000e] in <eebf6a509b354512a5d405c8a7dd6f88>:0
at Unity.Profiling.Editor.ProfilerModule.CreateDetailsView () [0x00064] in <eebf6a509b354512a5d405c8a7dd6f88>:0
at UnityEditor.ProfilerWindow.SelectModuleWithIndexAndDeselectSelectedModuleIfNecessary (Unity.Profiling.Editor.ProfilerModule moduleToSelect, System.Int32 moduleIndexToSelect) [0x0005a] in <eebf6a509b354512a5d405c8a7dd6f88>:0
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&)
```

*Expected results:* 
No error. Display the same data as in the built-in profiler

\\
*Reproducible with versions:* 2.2.2, 2.3.16

*Not reproducible with versions:* 

*Can't test with versions:* 

\\
*Tested on (OS):* 

\\
*Notes:*
*  

  1. Resolution Note:

    Fixed in the 2.7.0 release

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.