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
- ACES Tonemapping causes banding artifacts and negative values in ColorGradingLUT when HDR is enabled and "High Dynamic Range" Grading mode is selected while Android Platform is used
- Android Player freezes when an Audio Source is playing and an incoming call is picked up and then hung up and the Audio Source is started again
- Green success icon is poorly visible in the light Unity theme
- Incorrect input into the Input Field when using Microsoft IME Japanese
- Multiplayer role "ClientAndServer" is displayed without the spaces in the "Play Mode Scenarios" window
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