Search Issue Tracker
By Design
Votes
1
Found in
2021.3.37f1
2022.3.26f1
2023.2.19f1
6000.0.0b16
Issue ID
UUM-70153
Regression
No
Memory usage rapidly rises when changing colors in the color wheel
Reproduction steps:
1. Open the attached “repro-project“
2. Navigate to the Hierarchy window, right-click, and select Effects → Trail to add a Trail effect
3. Select the newly created GameObject
4. In the Inspector window, locate the “Color” field under the “Trail Renderer” component and click on it to open the Gradient Editor
5. Within the Gradient Editor, click on the color field again to bring up the color wheel
6. Change the colors by clicking on the wheel and moving the cursor around within the color wheel
Expected result: Memory usage remains consistent
Actual result: Memory usage rapidly rises
Reproducible with: 2021.3.37f1, 2022.3.26f1, 2023.2.19f1, 6000.0.0b16
Reproduced on: Windows 10
Not reproducible on: macOS Sonoma 14.4.1 (Intel)
Note: Not reproducible in a newly created project
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Binding a mipmap as UAV to a compute shader causes validation errors with WebGPU
- Shader Graph Create Node window cannot be resized or moved after maximizing and reopening it
- [Usability] Cannot toggle Scene checkboxes using TAB/Enter in Build Profiles’ > Open Scene List
- Installing HDRP package throws Shader Graph validation warning about Exposure node when installed in Universal 3D Template
- ShaderGraph “Create Node” menu’s resize icon overlaps with the menu's scrollbar
Resolution Note:
After investigation, it happens that the memory leak is due to the user script *PolygonScript.cs* which instantiate a new mesh every frame.
In that scenario, it should be better to modify the current mesh rather than create a new one.