Search Issue Tracker
Won't Fix
Votes
1
Found in
2017.2.0f3
Issue ID
964399
Regression
No
Finalizer is not called after calling GC.Collect() when using ConditionalWeakTable
To reproduce:
1. Open project attached by the user
2. Open "MainScene" scene and enter play mode
3. Inspect the console
Expected result: Finalizer should be called after calling GC.Collect()
Actual result: Finalizer is called just before exiting play mode.
Reproduced with: 2017.1.2p2, 2017.2.0f3, 2017.3.0b6, 2018.1.0a3
Wasn't able to test on 5.6.4p1 because of compile errors
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “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
Resolution Note:
Tracked in upstream mono https://github.com/mono/mono/issues/13560