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
- NullReferenceExceptions are being thrown when saving a ScriptableObject with an array of a type with a CustomPropertyDrawer that uses TrackPropertyValue
- Applied velocity is inconsistent when using Rigidbody AddForce() with ForceMode.VelocityChange
- Crash on AudioUtil_CUSTOM_HasAudioCallback when exiting Play Mode while the Inspector is displaying a GameObject with an empty script attached
- Scroll offset is framerate-dependent when scrolling with velocity in the Device Simulator
- "Object.FindObjectsOfType<T>() is obsolete" warning is thrown when using "Transitions Plus" asset
Add comment