Search Issue Tracker

Fixed

Fixed in 2022.2.19f1, 2023.1.0b15, 2023.2.0a13

Votes

2

Found in

2022.2.12f1

2023.1.0b9

2023.2.0a8

Issue ID

UUM-31709

Regression

Yes

[DXR] GPU memory leaks when Renderer.rayTracingMode is set to UnityEngine.Experimental.Rendering.RayTracingMode.DynamicGeometry

--

-

Reproduction steps:
1. Open the attached project “RayTracingLeak”
2. Open “Assets/OutdoorsScene.unity”
3. Enter the Play Mode
4. In the Hierarchy window select “ObjectSpawner” GameObject
5. In the Inspector window, change the “Ray Tracing Mode” property value to “Dynamic Geometry”
6. Open Task Manager
7. Focus the Editor and observe memory usage in Task Manager

Expected result: Memory usage slightly changes and settles
Actual result: Memory usage keeps increasing

Reproducible with: 2022.2.0a15, 2022.2.12f1, 2023.1.0b9, 2023.2.0a8
Not reproducible with: 2021.3.21f1, 2022.2.0a14
Couldn't test with: 2020.3.46f1 (Assets\SpawnObject.cs(23,37): error CS1061: 'Stack<GameObject>' does not contain a definition for 'TryPeek')

Reproducible on: Windows 10

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.