Search Issue Tracker
Fixed in 2021.3.29f1
Fixed in 2023.2.0a19
Votes
1
Found in
2023.1.0b19
2023.2.0a16
Issue ID
UUM-39692
Regression
No
Memory leak when unfocusing editor with a second undocked Game view using a separate display
Reproduction steps:
1. Open the attached project “leak.zip“
2. Open a second Game view window (Right click on Game view tab > Add tab > Game)
3. Undock the new Game view window from the Editor
4. Set the Display to “Display 2” in the second Game view Window and snap the window to any side (Windows button + right arrow)
5. Open "Assets/Scenes/SampleScene.unity" scene
6. Enter the Play Mode
7. Unfocus the Editor
8. Observe memory usage
9. If memory usage didn't change unsnap the second Game view
Expected result: Memory usage is the same
Actual result: Memory leaks
Reproducible with: 2023.1.0b1, 2023.1.0b19, 2023.2.0a16
Couldn't test with: 2021.3.26f1, 2022.3.0f1, 2023.1.0a26 - (step 4 cannot be done)
Reproducible on: Windows 10
Notes:
Allocated memory goes back down to normal after focusing the editor again
Snapping Game view might not be necessary, but seems to be more consistent that way
GPU usage seems to go up a lot from undocking the second Game view
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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Resolution Note (fix version 2021.3.29f1):
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-35177
Resolution Note (fix version 2023.2.0a19):
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-35177