Search Issue Tracker
Fixed
Fixed in 2023.2.12f1, 2023.3.0b9
Votes
0
Found in
2023.2.10f1
2023.3.0b7
Issue ID
UUM-63549
Regression
Yes
Memory leak errors are shown in the Console when displaying a context menu item with a function whose name contains 32+ characters
How to reproduce:
1. Open the attached “contextmenu_32char_issue” project
2. Open the “SampleScene”
3. In the Hierarchy window, select the “longname” GameObject
4. In the Inspector, right-click the attached “Longname“ script to open the context menu
5. Observe the Console window
Expected result: No errors or warnings are shown
Actual result: A “TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 33” error is shown
Reproducible in: 2023.2.0a9, 2023.2.10f1, 2023.3.0b7
Not reproducible in: 2021.3.35f1, 2022.3.19f1, 2023.2.0a8
Reproducible on: Windows 10, Windows 11
Not reproducible on: No other environments tested
Note: There is also a GameObject named “shortname” in the Scene whose context menu method name contains 31 characters where the issue does not reproduce
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Numeric property drag cursor gets enabled in the Inspector Preview window when the window is above numeric properties
- UI elements become unusable due to Object and Text Fields being set to empty/"0" when clicking "Reset" on their Components
- Scene Asset is not attached to a Lighting Data Asset for a URP Package Sample Scene
- Gizmos are not rendered for the Base Camera when using Camera Stacking
- UI Mask Component does not apply correctly when Canvas Render Mode is set to Screen Space - Camera
Add comment