Search Issue Tracker
Active
Fixed in 6000.1.0f1, 6000.4.0a4
Under Consideration for 2022.3.X, 6000.0.X, 6000.2.X, 6000.3.X
Votes
56
Found in
2021.3.46f1
2022.3.52f1
6000.0.30f1
6000.1.0a7
6000.2.0a1
6000.4.0a1
Issue ID
UUM-90065
Regression
No
Increased Memory usage when Update Mode 'On Demand' Realtime lights are used and DX12 API is selected
Reproduction steps:
1. Open the attached “lights-memory-tests.zip” project
2. Open the “OutdoorsScene”
3. Build and Run the Project
4. After the Player is built, open Task Manager
5. Observe the Memory usage of the Player (lightsmemory.exe)
Expected result: The Player uses around 600 MB of memory
Actual result: The Player uses around 1.3 GB of memory
Reproducible with: 2021.3.46f1, 2022.3.52f1, 6000.0.30f1, 6000.1.0a7
Reproducible on: Windows 11
Not reproducible on: no other environment tested
Reproduces on both DX12 and Vulkan.
Notes:
- Pressing ‘Space’ on the keyboard calls “RequestShadowMapRendering()” on every light and pressing it a few times can increase the memory to up to 2 GB
- Does not seem to affect DX11 builds as the memory there stays under 600-700 MB
- In 2021.3 the memory usage was ~1.5 GB, 2022.3 ~1.4 GB, 6000.0 ~ 1.7 GB and 6000.1 ~1.7 GB
- The more Cube GameObjects there are in the Scene, the higher the memory usage is
Comments (6)
-
taedal5
Nov 10, 2025 19:59
I'm also loking for a fix on LTS 6.0
-
DoctorShinobi
Oct 29, 2025 20:03
+! to all other comments here saying this needs to be fixed in the 6.0 LTS.
-
unity_73DF5CB06F918670E195
Oct 16, 2025 10:56
Again commenting on this. It's been almost a year since this was reported, and a fix is in place for 6.1 and 6.2, but why isnt it fixed in LTS, which is the stable version of Unity?
-
Draake
Sep 06, 2025 04:31
I would like to make a follow-up on this, as we are still waiting for a fix on the LTS 6.0 version while the other 6000 versions have been fixed. Thank you.
-
Draake
Aug 07, 2025 06:17
As the comment above says, can you please fix it on Unity 6.0. This is the LTS version that many people use for games that will ship soon.
-
unity_73DF5CB06F918670E195
Jun 13, 2025 06:53
Great that this is fixed in 6.1 and 6.2. Any chance of it being fixed in LTS (6.0) as well?
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
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
- White lighting artifact when a point light with a small emission range and "Hard Shadows" touches an object while a directional light with "Soft Shadows" and another point light are present
Resolution Note:
-
Resolution Note (fix version 6000.4.0a4):
Memory usage of scratch buffers has been improved compared to earlier Unity versions, but there are still other things in the repro project which consume memory
Resolution Note (fix version 6000.1.0f1):
DX12: Reduce the memory consumption by reducing the size of internal buffer allocations.