Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2021.2.X
Votes
6
Found in
2021.2
2021.2.2f1
2021.2.4f1
2022.1
Issue ID
1383319
Regression
Yes
"TLS Allocator ALLOC_TEMP_TLS" errors when rendering shaders
Reproduction steps:
1. Open attached project "Graphics-QA-BrokenShaderTestProject.zip", and scene "New"
2. Enter Play Mode
3. Using right arrow key, navigate to the right end of the scene
4. Exit Play Mode
5. Observe Console window
6. If there are no errors, switching to a different Graphics API or Build Target and repeat steps 1-5
Expected result: No errors
Actual result: "TLS Allocator ALLOC_TEMP_TLS <...>" errors and "Calling Deallocate on pointer, that can not be deallocated by allocator ALLOC_TEMP_MAIN" warnings
Reproducible with: 2021.2.2f1, 2022.1.0a16
Not reproducible with: 2020.3.24f1, 2021.1.28f1, 2021.2.1f1
Could not test with: 2019.4.33f1 (downgrading breaks project)
-
ItsJustaGroove
Jan 25, 2022 16:05
Looks like related to this one that is closed but not fixed. I am getting this all the time with URP and 2021.2.8f as well: https://issuetracker.unity3d.com/issues/tls-allocator-alloc-temp-tls-error-is-thrown-when-dragging-gameobject-from-editor-window
-
WildStyle69
Jan 16, 2022 06:08
Seeing this in Unity 2021.2.7f1 with certain shaders. After playing once the console is permanently spammed with TLS Allocator errors / warnings and have to close the editor and re-open again to clear it. Happens every time.
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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note (fix version 2022.1):
Fixed in 2022.2.0a1
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0b7
Resolution Note (fix version 2021.2):
Fixed in 2021.2.9f1