Search Issue Tracker

Fixed in 2022.1.X

Fixed in 2021.2.X

Votes

3

Found in

2021.2.0a17

2022.1

2022.1.0a10

Issue ID

1367401

Regression

Yes

TLS Allocator ALLOC_TEMP_TLS error is thrown when dragging GameObject from Editor Window

IMGUI

-

Reproduction steps:
1. Open the user's attached project
2. Open the "SampleScene" Scene
3. Open the "Test Editor Window" from the menu bar
4. Attempt to drag a prefab by dragging the "Drag Me" button onto the Scene view and observe the Console

Expected result: no errors or warnings are shown
Actual result: 1 error and 2 warnings are shown

Reproducible with: 2021.2.0a17, 2021.2.0b13, 2022.1.0a10
Not reproducible with: 2021.2.0a16, 2020.3.19f1, 2021.1.22f1, 2021.2.0a16
Could not test with: 2019.4.30f1 and below (NullReferenceException error)

Error and warnings:
1. TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 27
2. Internal: Stack allocator ALLOC_TEMP_MAIN has unfreed allocations, size 27
3. To Debug, enable the define: DEBUG_STACK_LEAK in StackAllocator.h. This will output the callstacks of the leaked allocations

  1. Resolution Note (fix version 2022.1):

    Fixed in 2022.1.0a13

  2. Resolution Note (fix version 2021.2):

    Fixed in 2021.2.2f1

Comments (22)

  1. Walter_Hulsebos

    Jan 15, 2022 02:14

    vOtInG DIsaBlEd for rEsOLVED IssUeS (FiXeD)

    It's still an issue in 2020.3.26f1 LTS

  2. Sigil08

    Jan 14, 2022 20:05

    Still replicates on Unity 2021.2.8f1

  3. gewl

    Jan 13, 2022 19:41

    Getting this error in multiple projects on 2021.2.7f1.

  4. Crashhelmet

    Jan 11, 2022 21:03

    Confirm still an issue with 2021.2.7f1.

  5. LindsayMarilyn

    Jan 10, 2022 16:21

    Does anyone have a fix for this yet? I can't do anything on my project without it using literally 17gb of memory. (I have 24gb) but it makes the project so slow to the point where it's unusable. Doesn't help after restarting either.

  6. rochal

    Jan 06, 2022 22:54

    This is still a bug in Unity 2021.2.7f1.

  7. jukibom

    Jan 02, 2022 14:06

    Yep, same on 2021.2.7f1. Sigh.

  8. VoldemortEatsBurgers

    Dec 25, 2021 08:04

    I have the same issue in 2021.2.5f1. I make some changes in API and in my shop code, and then this problem appeared. Removing Library and renewing it didn`t help. I don`t know what to do. Maybe somebody have some ideas how to solve it?

  9. crinoline

    Dec 23, 2021 16:13

    I'm getting this with 2021.2.5fl when navigating in the editor or when the editor has been running for 10 mins even with no input.

  10. Thimo-boldlyXR

    Dec 16, 2021 11:02

    Still having this issue on 2021.2.5f

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.