Search Issue Tracker

Fixed

Fixed in 1.8.1

Votes

0

Found in [Package]

1.7.8

Issue ID

UVSB-2366

Regression

No

Visual Scripting Graph Json string is kept in memory when graph is loaded

Package: Visual Scripting

-

Reproduction steps:
1. Open the user's attached project
2. Open "SampleScene" Scene
3. Build And Run the project
4. Go back to the Editor and go to Window -> Analysis -> Memory Profiler
5. Capture New Snapshot
6. In the Memory Profiler navigate to Object and Allocations and match by Type "string" and sort by size descending

Expected result: The string is garbage collected after graph is loaded.
Actual result: The string is not garbage collected after graph is loaded.

Reproducible with: 1.7.6 (2022.2.0a14), 1.7.8 (2021.3.3f1, 2022.1.2f1, 2022.2.0a15)

Reproducible on: Windows 10

  1. Resolution Note (fix version 1.8.1):

    fixed in 1.9.0

Add comment

Log in to post comment