Search Issue Tracker

Fixed in 2017.1.X

Votes

0

Found in

2017.1.0b1

Issue ID

900183

Regression

Yes

Assertion "ALLOC_TEMP_THREAD..." appears, when closing Unity in playmode with unsaved scene

Reproduction steps:
1. Create new project.
2. Change Camera position Y to 21 (or any other change). DO NOT SAVE
3. Press Play.
4. Try to close Unity.
5. Warning "Scene have been modified" appears. Press Save.
6. Window "Save scene" appears. Close it.

Expected result: Nothing will change, play mode stops.
Actual result: Play mode stops, output in console:
Message: "Allocation of 48 bytes at 0608a060"
Error: "Assertion failed: TLS Allocator ALLOC_TEMP_THREAD, underlying allocator ALLOC_TEMP_THREAD has unfreed allocations"

Note: Prior to 5.6, the number of bytes is 40. Location "at..." is different in each version.

Reproduced on: 5.3, 5.4, 5.5, 5.6, 2017.1.0b1.
Works fine on: 5.1.0f3, 5.2.5f1.
Regression introduced in: 5.3.

Comments (28)

  1. Drannach

    Jul 19, 2020 20:22

    Still here in 2019.4.0f1, developing for win...

  2. stophin

    May 02, 2018 11:41

    Thanks alot to BILGISOFT, solved my problem by changing .NET version to 4.6, could be different on other pc

  3. vbs

    Feb 11, 2018 01:27

    Error occurring in version 2017.3.1f1 OpenGL 4.1 when trying to export to iOS

  4. Bilgisoft

    Feb 09, 2018 07:05

    I solved this error. You must change .net option in user preference .net 3.5 to .net 4.6.

  5. Zeeppo

    Jan 24, 2018 16:04

    Is getting this error: Assertion failed: TLS Allocator ALLOC_TEMP_THREAD, underlying allocator ALLOC_TEMP_THREAD has unfreed allocations, size 349552

    Unity 2017.3.0f3 Windows 10 Android platform

  6. caroseraph

    Jan 16, 2018 10:06

    I has this issue in version 2017.3.0f3, thanks to GAMERSINITFUSION

  7. doutho

    Jan 12, 2018 12:22

    Same here still getting the issue in 2017.3.0p1

  8. Gamersinitfusion

    Jan 12, 2018 06:55

    I had this same issue in version 2017.3.0f3 and solved it by deleting everything from my project folder (in the explorer) EXCEPT:

    - Assets
    - ProjectSettings
    - Any Visual Studio Project/Solution Files

  9. pojoih

    Jan 04, 2018 12:42

    still happens 2017.3.0p1 in my iOS Project

  10. reiortiz

    Dec 27, 2017 16:59

    Still happening in unity 2017.3.0f3.

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.