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
- “ArgumentOutOfRangeException“ error when selecting 'TMP_InputField' content using keyboard in WebGL build
- Spot Light with 'Box' Shape stops working when it collides with Mesh
- Accepting Asset Store EULA endless loop in Package Manager window
- “InvalidOperationException: Sequence contains no matching element“ error when reenabling a custom Debug Draw Mode
- Prefab that contains a layout group is marked as changed by the Editor when opened
Add comment