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
- Caret moves by a character when typing "." and any number into 'Grid and Snap' toolbar's input field
- Missing #pragma directives warnings appear in Inspector when including .hlsl file in Shader
- Fixed Timestep setting gets resets to default when upgrading project
- Console displays "NullReferenceException: Object reference not set to an instance of an object." during Editor Theme change
- Editor interface has low contrast when any theme is used
Add comment