Search Issue Tracker

In Progress

Fix In Review for 2022.3.X, 2023.2.X

Fixed in 2023.3.0a10

Votes

3

Found in

2022.3.9f1

2023.1.13f1

2023.2.0b9

2023.3.0a5

Issue ID

UUM-49014

Regression

No

Assets referenced in Prefab Mode are never unloaded until a new Scene is loaded

--

-

Repro steps.

# Default scene (SampleScene) should be open.
# Take memory snapshot. Notice Texture "Screenshot 2023-09-13 091306" *is not* loaded.
# Open scene SampleSceneWithPrefab
# Take memory snapshot. Notice Texture "Screenshot 2023-09-13 091306" *is* loaded.
# Open scene SampleScene
# Take memory snapshot. Notice Texture "Screenshot 2023-09-13 091306" *is not* loaded.

The texture is unloaded as expected in workflow above.

Problematic workflow
# Default scene (SampleScene) should be open.
# Take memory snapshot. Notice Texture "Screenshot 2023-09-13 091306" *is not* loaded.
# Preview the prefab PrefabWithTexture
# Take memory snapshot. Notice Texture "Screenshot 2023-09-13 091306" *is* loaded.
# Exit preview
# Take memory snapshot. Notice Texture "Screenshot 2023-09-13 091306" *is* loaded.
# Open scene SampleSceneWithPrefab
# Open scene SampleScene
# Take memory snapshot. Notice Texture "Screenshot 2023-09-13 091306" *is* loaded.

In this workflow, "Screenshot 2023-09-13 091306" remains loaded.

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.