Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2019.4.X, 2020.1.X
Votes
0
Found in
2018.4
2020.2
2020.2.0a11
Issue ID
1250256
Regression
No
Editor crashes when passing null to Profiler.GetRuntimeMemorySizeLong()
Reproduction steps:
1. Open the attached "case_1250256.zip" project
2. Load "Test" scene
3. Enter Play mode
-- Observe the crash
Reproducible with: 2018.4.23f1, 2019.3.16f1, 2019.4.0f1, 2020.1.0b11, 2020.2.0a13
First lines of the stack trace:
0x00000001417EF894 (Unity) Profiler_CUSTOM_GetRuntimeMemorySizeLong
0x000000003FF0F21E (Mono JIT Code) (wrapper managed-to-native) UnityEngine.Profiling.Profiler:GetRuntimeMemorySizeLong (UnityEngine.Object)
0x000000003FF0F0F3 (Mono JIT Code) [D:\Downloads\case_1250256\Assets\Test.cs:10] Test:Start ()
0x000000003FFA9CA8 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
0x00007FFC725BBE7B (mono-2.0-bdwgc) [c:\buildslave\mono\build\mono\mini\mini-runtime.c:2809] mono_jit_runtime_invoke
<...>
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- UI Overlay Image gets darker on each Camera when multiple Cameras are used
- Assertion failed on expression: 'scriptedImporterClass == SCRIPTING_NULL error when opening the standalone profiler window
- Disabled assets in Import Unity Package window aren't tracked but count as being selected by user
- [Windows] Crash on GetManagerFromContext when video is playing and creating High Definition 3D Projects after FMOD failed to switch back to normal output Error appeared
- GC Alloc produced when adding items to MultiColumnListView with Auto Assign Binding
Resolution Note (fix version 2020.2):
Fixed in: 2020.2.0a16
Resolution Note (fix version 2020.1):
Fixed in: 2020.1.0f1
Resolution Note (fix version 2019.4):
Fixed in: 2019.4.7f1