Search Issue Tracker
Active
Under Consideration for 6000.2.X
Votes
1
Found in
2022.3.17f1
2023.2.4f1
2023.3.0b1
6000.0.0b11
6000.1.0a7
6000.2.0a1
7000.0.0a1
Issue ID
UUM-59760
Regression
No
Memory leak when using SerializeReference in IL2CPP Build
How to reproduce:
1. Open the attached project "SerializeReference MemLeak.zip"
2. Build And Run the project
3. Open the Memory Profiler in the Editor (Window>Analysis>Memory Profiler)
4. Change the "Target Selection" in the Memory Profiler to "WindowsPlayer"
5. Click on the "Capture New Snapshot" button
6. In the Player press space on the keyboard several times
7. Repeat step 5
8. In the Memory Profiler open the "Compare Snapshots" tab
9. Select both snapshots to compare
10. Switch to the "All Of Memory" tab
11. Select Native>Unity Subsystems>Objects
Expected results: The count of "<No Name>" Objects are the same in both snapshots
Actual results: The count of "<No Name>" Objects is larger in the second snapshot
Reproducible with: 2022.3.17f1, 2023.2.4f1, 2023.3.0b1
Could not test with: 2021.3.34f1 (no "All Of Memory" support in Memory Profiler)
Reproducible on: Windows 10 22H2
Not reproducible on: No other environment tested
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 PluginManager::RefreshPlugins when closing the Editor without making any changes with JetBrains Rider selected as the External Code Editor and Google Mobile Ads third-party plugin imported
- GetMainLight() returns incorrect distanceAttenuation value for a Custom Shader when URP Forward+ Rendering Path is used
- Standalone Profiler crash on GuidReservations::Reserve when it is opened on a specific project
- m_RenderPipelineGlobalSettingsMap or m_SRPDefaultSettings is pointing to UnityEngine.Rendering.HighDefinition.HDRenderPipeline when High Definition RP package is removed
- Rendering Debugger fields have no padding at the bottom of the fields list
Add comment