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
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
- VFX property value names are cut off when properties with 'Arc' are viewed in the VFX Blackboard
Add comment