Search Issue Tracker

Active

Votes

0

Found in

6000.0.63f1

6000.2.15f1

6000.3.0f1

6000.4.0a5

6000.5.0a2

Issue ID

UUM-129090

Regression

No

Memory leak when VFX Graph is open and Camera has "Target Texture" enabled

-

Reproduction Steps:
1. Open the attached "IN-121469_REPRO" project
2. Open "Assets/OutdoorsScene.unity"
3. Open the Task Manager
4. Open the "Assets/Repro_Stuff/Empty_VFX" graph
5. Wait for the "Compiling compute variants" bar at the bottom right to finish loading
6. Enable the "Camera_TT" and "Empty_VFX_Holder" GameObjects in the Hierarchy window
7. Observe the result in Task Manager, in the Processes tab

Actual result: Memory increases rapidly and continuously
Expected result: Memory remains stable

Reproducible with: 2023.3.0a7, 6000.0.63f1, 6000.2.15f1, 6000.3.0f1 (d1870ce95baf), 6000.4.0a5, 6000.5.0a2
Could not test with: 2023.3.0a6 (Doesn't have needed VFX features)

Reproducible on: Windows 10 (customer), Windows 11
Not reproducible on: No other environments tested

Notes:
- Memory leak stops if you use Profiler (if the Profiler target is set to Editor and working)
- Sometimes the issue disappears, and you need to reopen the project
- If you open the reproduction project on older Unity Editor versions (2023.3.0a6) and later switch to 6000.5.0a2, the issue will not reproduce
- The memory leak is observed with any Visual Effect Graph (even if it is not used in the scene). It does not reproduce in Visual Scripting or Shader Graph
- When the project uses more than ~20 GB of RAM, it takes a while for the project to completely shut down after closing it (memory usage keeps slowly falling until it no longer appears in Task Manager) and can take multiple minutes to close in the background
- A good indicator of whether the bug will reproduce is the "Compiling compute variants" bar appearing after opening the project in the new editor for the first time

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.