Search Issue Tracker
Fixed in 0.1.0-preview.6
Votes
0
Found in [Package]
0.1.0-preview.5
Issue ID
1136599
Regression
No
Memory Profiler throws NullReferenceException after closing and leaving Play Mode
How to reproduce:
1. Open attached project "HttpWebRequestLeakTest" and enter Play Mode
2. Open Memory Profiler
3. Close Memory Profiler and exit Play Mode
----------------------------
Observe console
Error:
NullReferenceException: Object reference not set to an instance of an object
Unity.MemoryProfiler.Editor.MemoryProfilerWindow.PlaymodeStateChanged (UnityEditor.PlayModeStateChange playModeState) (at Library/PackageCache/com.unity.memoryprofiler@0.1.0-preview.5/Editor/MemoryProfilerWindow.cs:1024)
UnityEditor.EditorApplication.Internal_PlayModeStateChanged (UnityEditor.PlayModeStateChange state) (at C:/buildslave/unity/build/Editor/Mono/EditorApplication.cs:302)
Reproduced with: Memory Profiler Package 0.1.0-preview.5, Unity 2018.3.8f1, 2019.1.0b6, 2019.2.0a8
Note: Memory Profiler was introduced in 2018.3.0f2
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- GPU utilization increases by 20% on Meta Quest headsets when Render Graph is enabled on 6000.0.16f1 and higher
- Value on Slider (Int) control in UI Builder displays as default when saving UI Document
- Color mismatch in UI Builders Library panel when the Editors theme is set to Light Mode
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
- Non-HDR color picker opens when selecting material color with HDR enabled
Add comment