Search Issue Tracker
Duplicate
Votes
0
Found in
2021.2.2f1
2021.2.3f1
2022.1
Issue ID
1382837
Regression
Yes
[Terrain] "TLS Allocator ALLOC_TEMP_TLS" errors are thrown when Terrain has 5+ Layers
How to reproduce:
1. Open the user-submitted project
2. Open the scene "Scene_Debug" (Assets/TerrainLayer_Problem/Scene_Debug.unity)
3. Enter and exit Play mode
4. In the Inspector window, select the GameObject "Terrain"
5. Inspect the Console window (Window > General > Console)
Expected result: No errors are seen in the Console
Actual result: Errors, warnings, and messages are spammed in the Console
Reproducible with: 2021.2.2f1, 2021.2.6f1, 2022.1.0a10
Not reproducible with: 2020.3.24f1, 2021.2.1f1, 2022.1.0a11, 2022.1.0a16
Couldn't test with: 2019.4.34f1 (Error: File may be corrupted or was serialized with a newer version of Unity.)
Errors:
TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 112
Warnings:
Internal: Stack allocator ALLOC_TEMP_MAIN has unfreed allocations, size 112
Messages:
Allocation of 56 bytes at 0x13ae00120
-
Resolution Note (2022.1.X):
Fixed in: 2022.1.0a11 and above
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
- CSS is not applied when using USS type selector "GridBackground"
- Player .exe remains open as a background task after closing it when Active Input Handling is set to "Input System Package (New)"
- Exception block is being rewritten to throw an incorrect number of exceptions when running a project built using IL2CPP Scripting Backend
- [Android] [Vulkan] Warning "AndroidPlayer "<device>" VULKAN: GENERAL WARNING: The following warning was triggered: VKDBGUTILWARN003." spammed every frame when the application is actively running on a device
- Skinning Editor missing tooltips
This is a duplicate of issue #1381606