Search Issue Tracker
Active
Under Consideration for 2022.3.X, 6000.0.X, 6000.1.X
Votes
6
Found in
2022.3.52f1
6000.0.26f1
6000.1.0a3
Issue ID
UUM-86354
Regression
Yes
Allocated graphics memory does not get released when the Editor is out of focus while using D3D12 graphics API
How to reproduce:
1. Open the attached “IN-87923” project
2. Open Task Manager
3. In the menu bar of the Unity Editor, select “Test → EditorUpdate → Run Multiple (Without Flush)”
4. Unfocus the Editor by clicking anywhere inside the Task Manager window
5. Observe the “Memory” tab in the Task Manager
Expected result: The Editor’s memory usage does not change by a significant amount
Actual result: The Editor’s memory usage increases by several gigabytes over time
Reproducible in: 2022.3.52f1, 6000.0.26f1, 6000.1.0a3
Not reproducible in: 2021.3.45f1
Reproducible on: Windows 10, Windows 11
Not reproducible on: No other environments tested
Notes:
* Not reproducible using D3D11 or Vulkan graphics APIs
* Invoking GL.Flush() helps alleviate some of the memory buildup, but it still continues to build up over time, albeit at a slower pace (Test → EditorUpdate → Run Multiple (With Flush))
* Focusing the Unity Editor during method execution releases the allocated memory
* Could not find the regression point due to compilation errors when downgrading the project. The earliest tested version is 2022.2.5f1, where the issue reproduces. Downgrading to 2022.2.0f1 introduces compilation errors
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Color mismatch in UI Builders Library panel when the Editors theme is set to Light Mode
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
- Non-HDR color picker opens when selecting material color with HDR enabled
- Crash on EditorApplication:Internal_CallUpdateFunctions when pushing property block by index to SpriteShapeRenderer
- Depth Texture Mode "After Opaques" breaks when "Full Screen Pass Renderer Feature" is added
Add comment