Search Issue Tracker
Won't Fix
Votes
1
Found in
2020.3.40f1
2021.3.11f1
2022.1.20f1
2022.2.0b10
2023.1.0a14
2023.2.0a1
Issue ID
UUM-16365
Regression
No
UI Toolkit UI Documents are not unloaded correctly when switching Scenes
Reproduction steps:
1. Open the user’s attached project
2. Enter Play Mode
3. Press the “space” button to enter the next Scene (notice it has UI elements)
4. Press the “space” button to change the Scene again
5. Open Window > Analysis > Memory Profiler
6. Capture New Snapshot
7. Go to Memory breakdown and notice that “halftone” and “noisebox” are still using memory
Expected result: Unused objects are cleaned from memory after changing Scenes
Actual result: Objects used in the earlier Scene are not cleaned from memory
Reproducible with: 2020.3.40f1, 2021.3.11f1, 2022.1.20f1, 2022.2.0b10, 2023.1.0a14
Reproducible on: Windows 10
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
Resolution Note:
Thank you for bringing this issue to our attention. After careful consideration, we have determined that other higher-priority issues should take precedence, and we have decided not to address your issue at this time. We have future work planned that will improve the situation. We appreciate your input and understanding, and please let us know if you have any other concerns or issues you would like to report in the future.