Search Issue Tracker
Fixed
Fixed in 2022.3.32f1, 2023.1.18f1, 2023.2.0b15, 2023.3.0a5
Votes
2
Found in
2022.3.5f1
2023.1.4f1
2023.2.0a23
2023.3.0a1
Issue ID
UUM-43709
Regression
No
High memory usage and crash on DynamicHeapAllocator::CreateTLSFBlock when opening project with Sprite Atlas V2 enabled
Reproduction steps:
1. Open the attached project “CrashRepro“
2. Observe memory usage
Expected result: Memory usage is normal
Actual result: Almost all of the memory gets used up at some point and can crash
Reproducible with: 2021.2.0b1, 2022.1.0a1, 2022.1.24f1, 2022.3.5f1, 2023.1.4f1, 2023.2.0a23
Not reproducible with: 2021.3.28f1
Reproducible on: Windows 10
Note: The crash is very inconsistent, but memory consumption always increases about halfway through the project loading
First few lines of stack trace:
{noformat}[00] DynamicHeapAllocator::CreateTLSFBlock
[01] DynamicHeapAllocator::Allocate
[02] DualThreadAllocator<DynamicHeapAllocator>::Allocate
[03] MemoryManager::Allocate
[04] malloc{noformat}
Comments (1)
-
wanxingame
Apr 18, 2024 02:02
2022.3.24f1 not fixed,but it's not crashing when opening. it's running on android device for a few of hours. this is the same problem.
https://forum.unity.com/threads/android-build-project-freezes-after-5-minutes-with-playerloop-in-profiler-at-60-000-ms.863143/page-7#post-9777687
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
- Prefab Override popup displays on wrong monitor when Inspector width is resized to minimum
- Scroll View is not moving by inertia after scrolling by click and dragging when Editor window is minimized and Canvas "Render Mode" is set to "World Space"
- "type mismatch error" occurs when the currentDirectionWS output of a Sample Water Surface node is connected to a float3 input
- URP Material Upgrade utility does not enable Alpha Clipping when material had Rendering Mode set to Cutout
- Particle System emission ignores the Sprite Atlas when using a Material that has the "Include in Build" setting unchecked
Resolution Note (fix version 2023.3.0a5):
Fix for this issue will be available on Unity 2023.3.0a5 and above
Resolution Note (fix version 2023.2.0b15):
Fix for this issue is available on Unity 2023.2.0b15 and above
Resolution Note (fix version 2023.1.18f1):
Fix for this issue is available on Unity 2023.1.18f1 and above
Resolution Note (fix version 2022.3.32f1):
Fix for this issue is available on Unity 2022.3.32f1 and above