Search Issue Tracker

Not Reproducible

Votes

1

Found in

2017.3.0f1

Issue ID

974486

Regression

No

[Editor] Assertion failed error when closing Unity with "Verify Saving Assets" selected in preferences.

Asset - Database

-

Description:
Editor throws "Assertion Failed : TLS Allocator ALLOC_TEMP_THREAD" when closing Editor with "Verify Saving Assets" is checked in Preferences window

Steps
1. Open a new Unity project
2. Create a Gameobject
3. Proceed to- Unity > Preferences
4. Make sure that "Verify Saving Assets" is checked.
5. Make Sure that Scene is NOT SAVED.
6. Close Unity.
7. Pop up will appear for saving Scene. Select "Save".
8 "Save Assets" Popup appears along with Assertion Failed error.

Stack trace:
Assertion failed: TLS Allocator ALLOC_TEMP_THREAD, underlying allocator ALLOC_TEMP_THREAD has unfreed allocations, size 16
UnityEditor.AssetModificationProcessorInternal:OnWillSaveAssets(String[], String[]&, String[]&, Int32)

Actual Result: "Save Assets" Popup appears along with Assertion Failed error.

Expected Result : "Save Assets" Popup should appear.

Reproducible on :
Unity 2018.1.0f1, 2018.1.0a7, 2018.1.0a5, 2017.3.0f1, 2017.3.0b11, 2017.3.0b9, 2017.3.0b4, 2017.3.0b3, 2017.3.0b1, 2017.2.f3, 2017.1.1f1, 5.6.4f1

Environment:
MacOS

Comments (5)

  1. ShivaprasadJuego

    May 06, 2020 14:17

    I got this too.
    Randomly started occurring don't know repro steps.

  2. RKSW

    Jan 12, 2018 22:41

    Yet another addendum:

    Simply saving a modified scene is not sufficient to cause the error. Build appears to be necessary.

  3. RKSW

    Jan 12, 2018 22:17

    Addendum to last comment:

    Original post stated "4. Make sure that "Verify Saving Assets" is checked. ".

    In my case Verify Saving Assets is NOT CHECKED.

  4. RKSW

    Jan 12, 2018 22:14

    Assertion failed: TLS Allocator ALLOC_TEMP_THREAD, underlying allocator ALLOC_TEMP_THREAD has unfreed allocations, size 99 does not occur until the game has been built for iOS.

    It then occurs repeatedly when a spine animation object is selected in the Editor hierarchy.

    It occurs exactly once when the immediate parent of a spine animation is selected.

    It does not occur at all when other types of game objects are selected.

    It occurs "often" during game running in editor context.

    It occurs once when mouse enters Build Setting window when that window is displayed.

    It occurs once when UI component roll-over tip appears.

    It occurs once when Add Component dialog appears in Inspector.

    Using Unity 2017.3.0f3 on Windows 10.

    Please fix this error.

  5. MarcusTheMainMan

    Dec 20, 2017 04:29

    I get
    "Assertion failed: TLS Allocator ALLOC_TEMP_THREAD, underlying allocator ALLOC_TEMP_THREAD has unfreed allocations, size 14506729"

    It does this once the game is played also as the game plays (in the editor)

    I just upgraded to unity 2017.3 and it has never been there before. I have windows 10 creators fall edition (latest) with editor running android.

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.