Search Issue Tracker

Fixed in 2021.2.X

Votes

0

Found in

2019.4

2021.2.0b3

2021.2.1f1

2022.1

Issue ID

1379053

Regression

Yes

"TLS Allocator ALLOC_TEMP_TLS" errors and "ALLOC_TEMP_MAIN" warnings with BetterLitShader package in project

Shader System

-

Reproduction steps:
1. Open the user's attached project "BetterLit2021.3-BuiltIn" from the "development" folder
2. Correct manifest.json to path correctly to "BetterLitShader" and "BetterShaders" packages
3. Open the Console window

Expected result: No allocation warnings and messages
Actual result: Errors and warnings in the Console window:
TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 1536
Internal: Stack allocator ALLOC_TEMP_MAIN has unfreed allocations, size 1536
To Debug, enable the define: DEBUG_STACK_LEAK in StackAllocator.h. This will output the callstacks of the leaked allocations

Reproducible with: 2019.4.36f1, 2021.2.0b3, 2021.2.8f1, 2022.1.0b3
Not reproducible with: 2020.3.27f1, 2021.2.0b2, 2021.2.9f1, 2022.1.0b4, 2022.1.0b6, 2022.2.0a3

Note: Deleting "BetterShadersSource" in "BetterLitShader/Shader" stops the errors and warnings

  1. Resolution Note (fix version 2021.2):

    Fixed in 2021.2.9f1, 2022.1.0b4

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.