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
- Tilemap Tiles do not get lit up unless the Light Range is greater than the distance between the position of the Tile before the transformation and the Light Source when the Tile is transformed with Tilemap.SetTransformMatrix method
- The Editor and "Reloading Domain" windows are frozen when entering Play Mode
- Crash when attempting to create a custom FMOD DSP unit
- [Linux] Floating windows do not keep their size after restarting the Editor
- .framework plugin is mistakenly treated as a directory when building for Universal Windows Platform
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