Unity Issue Tracker - "Untracked" memory is logged by the Profiler when small allocations for delegates and big allocations for new array creations happen simultaneously
Open
UUM-72764
"Untracked" memory is logged by the Profiler when small allocations for delegates and big allocations for new array creations happen simultaneously
Unity: Profiling
Open
6.7.X
6.6.X
6.5.X
6.4.X
6.3.X
6.0.X
2022.3.X
Won't Fix
6.2.X
6.1.X
2021.3.X
Unity 6000.2 has reached its end of life and will not receive further updates. If you need additional fixes, please upgrade to a newer Unity version.
Cancelling: the 6000.1 version has reached its end of life. If you need additional fixes, please upgrade to a newer Unity version.
Unity 2021.3 has reached its end of life and will not receive further updates. If you need additional fixes, please upgrade to a newer Unity version.
How to reproduce:
1. Open the user-attached project “string-builder-memory-profiler-bug-reproduction”
2. Build And Run the Development build with the “Copy PDB” and “Autoconnect Profiler” options checked
3. Open the Player in the Profiler
4. Press the button in the Player several times
5. Observe the “Allocated Memory Distribution” section in the Profiler
Expected results: No “Untracked” memory is created
Actual results: “Untracked” memory starts to build up at some point and is growing with every button click