Search Issue Tracker
Active
Under Consideration for 2021.3.X, 2022.2.X, 2023.1.X
Votes
2
Found in
2021.3.16f1
2022.2.2f1
2023.1.0a25
Issue ID
UUM-23303
Regression
No
Fragmentation on a managed object when using Finalizer
Reproduction steps:
1. Open the attached project "ReproProject"
2. Build and run the project (File > Build and Run)
3. Open Window > Analytics > Memory Profiler
4. Take a capture
5. Go to {{\Package\Runtime\RuntimeValues.cs}}
6. Uncomment the commented lines (finalizer)
7. Repeat 2, 3, and 4 steps
8. Compare both captures
9. Take a look at the difference of “Empty Fragmented Heap Space”
Expected result: The “Empty Fragmented Heap Space” difference is little or non
Actual result: The “Empty Fragmented Heap Space” noticeably differs between captures
Reproducible with: 2021.3.16f1, 2022.2.2f1, 2023.1.0a25
Could not test with: 2020.3.42f1 (Library\PackageCache\com.unity.memoryprofiler@1.0.0\Editor\Containers\MetaDataHelpers.cs(70,82): error CS8124: Tuple must contain at least two elements)
Reproducible on: Windows 10 Enterprise 21H2
Notes:
- Reproducible on Android
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
- Previously deleted “DefaultLookDevProfile“ is present when upgrading the Editor version
- [Ubuntu] UI text and buttons are missing spaces in Unity Version Control > New Workspace window
- "Inherit attribute is not supported" warning is shown but attributes are available in VFX Graph Output and Update blocks
Add comment