Search Issue Tracker

Won't Fix

Votes

0

Found in

2021.3.40f1

2022.3.36f1

6000.0.9f1

Issue ID

UUM-75010

Regression

No

[iOS] Memory increases significantly when a TMP Text component has a lot of text

--

-

How to reproduce:
1. Open the attached Project "Test_TMP.zip"
2. Build and Run a Development Build of the Scene "SampleScene" on iOS
3. Open the Memory Profiler (Window -> Analysis -> Memory Profiler)
4. Attach the Memory Profiler to the running Player and Capture a Snapshot
5. In the Player click the "FULL" Button
6. In the Memory Profiler capture another Snapshot
7. Compare the Snapshots

Expected result: barely any additional memory is used
Actual result: memory usage increases by 40-70MB

Reproducible on: 2021.3.40f1, 2022.3.36f1, 6000.0.9f1

Reproduced on:
- iPhone 13 (iOS 15.0)
- iPad Pro (9.7 inch, WiFi) (iOS 14.8)

Notes:
- On macOS, the memory increase is ~6MB
- The json file containing the text takes up 46KB of space

  1. Resolution Note:

    After careful consideration, we've decided not to pursue this fix at present. It would require a significant refactoring of TextMesh Pro's architecture, moving from individual component buffers to a centralized service model. Given the scope and potential risks involved, we've determined that this change is too risky for U6 at this time.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.