Search Issue Tracker

In Progress

Fixed in 6000.1.0f1

Under Consideration for 2022.3.X, 6000.0.X, 6000.2.X, 6000.3.X

Fix In Review for 6000.4.0a4

Votes

52

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

  1. Resolution Note:

    -

  2. 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

  3. Resolution Note (fix version 6000.1.0f1):

    DX12: Reduce the memory consumption by reducing the size of internal buffer allocations.

Comments (5)

  1. DoctorShinobi

    Oct 29, 2025 20:03

    +! to all other comments here saying this needs to be fixed in the 6.0 LTS.

  2. 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?

  3. 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.

  4. 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.

  5. 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

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.