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
- After converting a Built-in project to URP render texture related errors are spammed that can lead to Game view being rendered on top of Scene view
- UI Builder slider value lags and stutters when sliding/modifying certain property values
- "Reset UI Builder Layout" functionality inconsistently changes Canva Size when "Match Game View" is enabled/disabled
- Texture Import Warnings are obscured by other Terrain Layer options in the Inspector
- Burst Inspector middle divider is jittering when resized with the Burst Inspector window docked
Resolution Note (fix version 2021.2):
Fixed in 2021.2.9f1, 2022.1.0b4