Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.3.0a1
2018.4.0a1
2019.2.0a1
2019.2.0f1
2019.3.0a1
2020.1.0a1
Issue ID
1176515
Regression
Yes
Roslyn compiler VBCSCompiler.exe is not terminated when Unity is closed sometimes causes Editor freezes
How to reproduce:
1. Create new project
2. Create new script, open it, modify it and go back to Unity so the script is compiled
3. Open Task Manager
4. In Task manager either look for VBCSCompiler.exe process OR Unity Editor -> expand the process -> look for VBCSCompiler.exe process as a child (if there is no VBCSCompiler.exe process, you could try to compile more scripts, build standalone)
5. Close Unity and observe the process in Task Manager
Expected result: the "VBCSCompiler.exe" process is terminated
Actual result: the "VBCSCompiler.exe" process is not terminated immediately(only after some minutes) which could cause Editor freeze while scripts are being compiled
Reproducible with: 2018.3.0b1, 2019.2.7f2, 2019.3.0f4, 2020.1.0a6
Not reproducible with: 2017.4.32f1, 2018.2.21f1
Comments (1)
-
hsgaminators
Jun 22, 2022 07:27
This issue is freezing my 2019.4.30f1 on a really high end system. Editor freezes completely on startup and VBCSCompiler takes up-to 99% of CPU usage. Please share if there' a workaround.
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
- Color picker does not show the correct color when selecting color on the moving object
- “Asset X has no meta file, but it's in an immutable folder. The asset will be ignored.” errors are thrown when importing package with files not listed in package.json's "files" property
- There is no way to adjust the HDR Paper White value of the Unity Editor's interface, making it difficult/uncomfortable for some developers to work on very dark/bright scenes in HDR
- Animator window has a dropdown button that throws “MissingReferenceException” error on a new project when the previous project had a GameObject with an animation
- Animator State name overflows outside the visual box when the State has a long name
Resolution Note:
We are using Rosyln right out of the box. from Microsoft
"VBCSCompiler is designed to cache builds on both the command line build and in VS, so closing VS is not sufficient information to kill VBCSCompiler, since there may builds still being processed on the command line. Instead, VBCSCompiler waits for a timeout of 10 minutes with no connections before shutting down. However, you should see memory usage drop significantly after 30 seconds, when VBCSCompiler starts to free much of the memory it used for compilations."
Windows will leave VBCSCompiler hanging around and Unity will reattach if its there when starting.