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. Response avatar

    Resolution Note (fix version 2022.1):

    Fixed in 2022.1.0a13

  2. Response avatar

    Resolution Note (fix version 2021.2):

    Fixed in 2021.2.2f1

Comments (20)

  1. 079c42b931c20b393bd6a8eb734f980a?d=mm

    Nymoda

    Feb 28, 2022 17:22

    Got this issue (first case in listing) in version 2021.2.13f1

  2. 6a88158c79c6591af5b12a045db93530?d=mm

    bartusivaci

    Feb 20, 2022 21:27

    Got this error randomly last week on version 2021.2.8f1. It happened whenever I clicked on my terrain game object. Tried Edit -> Preferences -> External Tools -> Regenerate project files. Stopped happening after clicking on my terrain object, but instead started happening after going in and out of play mode. Couldn't fix it so I started my project again on version 2020.3.28f1 (Wanted to be safe since it is LTS). Just got the same error. This time happened after I created a new tag. Restarting Unity fixes it but whenever I want to create a new tag for an object, I get this error. So no, it is not fixed.

  3. 86ae5ec0ebe67655581defa68468f5ba?d=mm

    avataris-io

    Jan 27, 2022 21:38

    Confirm still an issue with 2021.2.8f1.

  4. 58675e8162de153ebb047e313ee879c5?d=mm

    maurosso

    Jan 26, 2022 10:53

    EDIT: Unity 2021.2.7

  5. 58675e8162de153ebb047e313ee879c5?d=mm

    maurosso

    Jan 26, 2022 10:52

    Same issue, connected somehow to Unity Terrain. I have a scene with a terrain imported from World Creator, the problem happens after I exit from Play mode.

  6. 469bf28299752d9e9b4e1a61b0bc70be?d=mm

    WildStyle69

    Jan 21, 2022 04:58

    Definitely not fixed - this bug is coming up in various situations right now, quite frustrating.

  7. 38411624b6b01e3ea970d28b1355a4fb?d=mm

    Vaupell

    Jan 17, 2022 21:47

    Unity 2021.2.8f1 still not fixed..

  8. 0fbd18ba5e3744727f39135299c24b06?d=mm

    ItsJustaGroove

    Jan 16, 2022 22:09

    Hello, I am also seeing this after creating a river with "R.A.M 2019 - River Auto Material 2019" from the Asset Store in the URP Pipeline Project and Unity 2021.2.8f1.

    All the Best

  9. Ad6df8c3f4e53f2b57ac4bd8fc5ea83d?d=mm

    Walter_Hulsebos

    Jan 15, 2022 02:14

    vOtInG DIsaBlEd for rEsOLVED IssUeS (FiXeD)

    It's still an issue in 2020.3.26f1 LTS

  10. 0a3b48ff4dc3bcc02e8430dc300a6df6?d=mm

    Sigil08

    Jan 14, 2022 20:05

    Still replicates on Unity 2021.2.8f1

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.