Search Issue Tracker

Active

Under Consideration for 3.0.X, 3.2.X, 4.0.X

Votes

0

Found in [Package]

3.0.6

3.2.0-pre.3

4.0.0-pre.1

Issue ID

TMPB-91

Regression

No

TextMeshPro SpriteAsset is not unloaded when switching scenes

Package: TextMeshPro

-

Reproduction steps:
1. Open the user-attached project "TestTMP.zip"
2. Build and Run the project as a Development Build and Autoconnect Profiler
3. Inside the Editor select Window > Analysis > Memory Profiler
4. Capture a Snapshot
5. Press the "Button" in the project that's running
6. Capture a Snapshot
7. Open the Snapshot and open Texture 2D
8. Observe contents of Texture 2D
9. Compare the two Snapshots

Expected result: PlayerItemImageAtlas unloaded and doesn't show up in the Memory Profiler in the second Scene
Actual result: PlayerItemImageAtlas is still shown after switching Scenes

Reproducible with: 3.0.6 (2020.3.35f1), 3.2.0-pre.3 (2020.3.35f1, 2021.3.5f1), 4.0.0-pre.1 (2022.1.6f1, 2022.2.0a16, 2023.1.0a3)

Reproducible on: MacOS 12.2 (Intel)

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.