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
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
- Previously deleted “DefaultLookDevProfile“ is present when upgrading the Editor version
- [Ubuntu] UI text and buttons are missing spaces in Unity Version Control > New Workspace window
- "Inherit attribute is not supported" warning is shown but attributes are available in VFX Graph Output and Update blocks
Add comment