Search Issue Tracker
Fixed in 2021.2.X
Fixed in 2021.1.X
Votes
0
Found in
2021.1.0a7
2021.1.0b6
Issue ID
1293257
Regression
Yes
[Profiler] Window breaks after switching threads
Profiler window breaks after switching treads
To reproduce:
1. Enable Editor Profiling.
2. Enter Playmode, profile a bit,
3. Stop Profiling.
4. Exit Playmode.
5. In (Raw) Hierarchy select e.g. Profiler.DataDeserializer.
6. Enable profiling again.
Actual result:
Profiler window is blank and error fall in log:
NullReferenceException: Object reference not set to an instance of an object
UnityEditorInternal.Profiling.CPUProfilerModule.ApplySelection (System.Boolean viewChanged, System.Boolean frameSelection) (at <c04d3eff6b2847bb9c702bb4f59bb144>:0)
UnityEditorInternal.Profiling.CPUOrGPUProfilerModule.TryRestoringSelection () (at <c04d3eff6b2847bb9c702bb4f59bb144>:0)
UnityEditorInternal.Profiling.CPUOrGPUProfilerModule.OnEnable () (at <c04d3eff6b2847bb9c702bb4f59bb144>:0)
UnityEditorInternal.Profiling.CPUProfilerModule.OnEnable () (at <c04d3eff6b2847bb9c702bb4f59bb144>:0)
UnityEditor.ProfilerWindow.OnEnable () (at <c04d3eff6b2847bb9c702bb4f59bb144>:0)
UnityEditor.ProfilerWindow:ShowProfilerWindow()
Expected result: Profiled works.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Mobile] Developer Console does not appear when an error is thrown
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- NullReferenceException is thrown when changing the Inspector preview selection
Add comment