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. KingKRoecks

    Dec 15, 2021 02:32

    Yes, this is still happening in 2021.2.6f1 after highlighting my terrain with 5 layers

  2. rodolfobezerra-scopely

    Dec 14, 2021 13:19

    That's not fixed in 2021.2.2f1 because I'm getting this on 2021.2.5f1...

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.