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
- Renaming the VFX Graph uses "Enter" for a new line and "Enter + Shift" to confirm instead of vice versa
- RasterCommandBuffer.DrawMeshInstanced light attenuation does not work in the Release build Player
- Main thread freezes when right-clicking on the title bar of a windowed Player on Windows
- “Open” button in Inspector does not function for certain Assets
- Channel remapping dropdown in the Terrain Layer does not open when clicked on the title
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.