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
- Crash on when D3D12RenderPass::SetupDeviceResources when opening FBX animation preview
- Serialization errors are thrown when "com.unity.render-pipelines.core" is added as a custom package and Graphics window is opened
- Character Joints unexpectedly rotate when a ragdoll is created using the Ragdoll Wizard
- Crash on GfxDeviceD3D11Base::DrawBuffersBatchMode when rendering the Scene view
- The shared EditorBuildSettings.asset file of symlinked projects is not updated when changing the order of the Scenes in Build Settings in one of the projects
Add comment