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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note (fix version 2021.2):
Fixed in 2021.2.9f1, 2022.1.0b4