Search Issue Tracker

Won't Fix

Votes

2

Found in

2018.2.0b6

Issue ID

1045228

Regression

No

MemoryProfiler::UnregisterAllocation crashes when entering to Play mode

Profiling

-

To reproduce:

1. Download attached project "VXECS.zip" and open in Unity
2. Open "SampleScene" scene
3. Enter Play mode

Expected Result: Unity Editor successfully enters into the Play mode
Actual Result: Unity Editor crashes

Notes:
- This issue appears both on Windows, OSX, and Standalone builds
- Before crash happens it prints some errors
- The stack traces and errors are shared in the comments section

Reproduced on Unity 2018.1.5f1, 2018.2.0b6 and 2018.2.0b9
Could not reproduce on Unity 2018.3.0a2 because project becomes corrupted
Could not check for regression on 2017.4 because of project needs C# 7.0 or higher version

  1. Resolution Note:

    A crash was caused due to calling UnsafeUtility.Free twice on the same pointer. As the name implies it is unsafe and can cause crashes if used wrong

Comments (2)

  1. Salman86

    May 15, 2019 07:10

    Great post thanks for you sharing such a nice information this article http://mycomputerwindows10.com its really good and very easy to use.

  2. r-pedra

    Oct 01, 2018 13:19

    We have this bug really often on 2018.1.7f1, having to launch again Unity around 4-5 times a day.
    Sometimes occurs 3-4 times a row.

    It's really annoying, and we waste a lot of time waiting for unity to launch again. Unity Editor on Mac is really unstable since 2017.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.