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
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Standalone Profiler Targets another Project if a Standalone Profiler was launched in it before when switching between Edit or Play Mode Targets
- Crash on ForwardRenderLoopJob when opening a specific project
- [Android] Memory leak and eventual crash on Snapdragon 8 Gen 1+ devices when a Clear Pass is executed after Framebuffer Fetch
- PhysicsRaycaster ray length is incorrect when casting from rotated Camera
- Crash on EnumerateDisabledKeywordsInVariantsArray or UNITY_XXH32 when rapidly saving ShaderGraph or VFXGraph changes
Resolution Note (fix version 2021.2):
Fixed in 2021.2.9f1, 2022.1.0b4