Search Issue Tracker
Won't Fix
Votes
0
Found in
2022.3.28f1
6000.0.0f1
Issue ID
UUM-71321
Regression
Yes
TextMeshPro memory leak occurs when reloading the scene using Addressables
How to reproduce:
1. Open “memoryLeak“ project
2. Navigate to File → Build and Run
3. In Player press space (keyboard)
4. Navigate to Window → Analysis → Memory Profiler
5. In the Memory Profiler window press “Capture New Snapshot“
6. Select the Player window
7. Press space twice
8. Repeat step 3
9. Observe the Total Memory of the Snapshots in the Memory Profiler
Expected result: No significant difference in memory
Actual result: More memory is allocated in the second Screenshot
Reproducible with: 2022.3.28f1 (3.0.8), 6000.0.0f1 (uGUI 2.0.0)
Not reproducible with: 2022.3.28f1 (3.2.0-pre.1)
Could not test with: 2021.3.38f1 (full memory is not captured)
Reproducible on: Windows 10, Windows 11
Not reproducible on: No other environment tested
Notes:
- Make sure that the Memory Profiles is connected to the Player
- Regression happened at the TextMeshPro package version 3.2.0-pre.1 (refer to internal notes)
Comments (1)
-
nikita1995f
May 02, 2025 14:46
Can u share work around solution?
We has same problem.
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
- MaskField Choices Elements tooltip covers the entire window while scrolling through the Elements
- Reordering Enum Values in VFX Graph Uint Property expands the “Value” field
- Visual Effect Graph sample titles display in non-human-readable format
- UxmlNamespacePrefix does not apply when using UIBuilder documents
- UI Builder Data Path Source List starts flickering and scrolling when trying to select the last item in the list
Resolution Note:
The user can work around this. We however took note that this process should be better documented and that we could perhaps handle this better (behind the scene) instead of requiring the user to call unknown API functions.
See the comment for the workaround