Search Issue Tracker
By Design
Votes
0
Found in
2017.4.0f1
2018.3.0a1
2018.3.4f1
2019.1.0a1
2019.2.0a1
Issue ID
1124723
Regression
No
Windows Standalone build takes a long time to close when GC.ReRegisterForFinalize(this); is used
Steps to reproduce:
1. Download and open the attached project
2. Build and run for standalone
3. Wait until the first logo finishes
4. Press Alt+F4 to exit the game
Expected result: build closes immediately
Actual result: build hangs for a while before closing
Reproduced on 2017.4.0f1, 2017.4.20f1, 2018.3.5f1, 2019.1.0b3, 2019.2.0a4
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
- Reflection problems when unbaked Reflection Probes are present
- Light Explorer columns sorting arrow is too small
- Context menu actions (Collapse All, Expand All, Enable All, Disable All, Remove All, Reset All) do nothing in Volume component
- [Android] Audio volume decreases when returning to the app during screen recording
- Graphical issues are caused by GPU Occlusion Culling when using Amplify Shaders
Resolution Note:
Finalizers are given up to 40s to execute before the process is terminated. Repeatedly queuing objects for finalization will delay process close. See https://blog.stephencleary.com/2009/08/finalizers-at-process-exit.html