Search Issue Tracker

Active

Fixed in 6000.1.0f1, 6000.2.0a10

Under Consideration for 2021.3.X, 2022.3.X, 6000.0.X, 6000.4.X

Votes

50

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.1.0f1):

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

Comments (3)

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

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

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