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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment