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
- The Editor becomes unresponsive and memory allocation errors are spammed in the Console when Generating Lightning
- Crash on BatchApplyPropertiesFromSourceAssetDB when opening a specific project
- Scene view Camera cannot be moved with WASD/QE keys when the Right Mouse Button is held down and the Mouse is not moved
- Crash when calling default interface method from virtual method with same name
- [Android] Unity does not include the ".aab" extension for an AppBundle when it is built via script with the buildPlayerOptions.locationPathName = "AppName.apk" and EditorUserBuildSettings.buildAppBundle = true
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