Search Issue Tracker
Duplicate
Votes
0
Found in
2022.3.6f1
Issue ID
UUM-44477
Regression
Yes
Memory leak when trying to clear and generate TextElements with script
Reproduction steps:
1. Open the attached “leak-text” project
2. Open the “Assets/Scenes/GenerateTexts.unity” scene
3. Enter the Play Mode
4. In the Menu bar press Window > Analysis > Profiler
5. Click on Memory Profiler Module
6. Observe the Object stats, Meshes Count and Size
7. In the Game view click the “Generate Elements” button
8. Observe the Object stats Meshes Count and Size
Expected result: Meshes Count and Size doesn’t change
Actual result: Meshes Count and Size increases with each click on “Generate Elements”
Reproducible with: 2022.2.0a9, 2022.3.6f1, 2023.1.0a19
Not reproducible with: 2021.3.29f1, 2022.2.0a8, 2023.2.0b2
Fixed in: 2023.1.0a20
Reproducible on: macOS Ventura 13.4.1 (M1 Max), macOS 13.4.1 (c) (Intel), Windows 11
-
Resolution Note:
Took care of the issue in the duplicated bug.
Duplicate of https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-46520
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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
This is a duplicate of issue #UUM-35117