Search Issue Tracker
Third Party Issue
Votes
1
Found in
2021.3.42f1
2022.3.42f1
6000.0.15f1
6000.1.0a7
6000.2.0a1
Issue ID
UUM-77821
Regression
No
Miscrosoft.CodeAnalysis.LanguageServer crashes when duplicating and moving method attribute
Reproduction steps:
1. Open the attached “repro-project“
2. In the Project window find and double-click the “Assets/TestScript.cs“ script to open it in VSCode or another IDE
3. Place the mouse cursor on line 19
4. Perform Shift + Alt + Arrow Down (in VSCode) to duplicate method attribute
5. Perform Alt + Arrow Down (in VSCode) to move the method attribute line to the line above the GetHashCode() method (line 24)
6. Observe the “Client Miscrosoft.CodeAnalysis.LanguageServer: connection to server is erroring. Shutting down server.“ pop-up at the lower-right corner of VSCode
Reproducible with: 2021.3.42f1, 2022.3.42f1, 6000.0.15f1
Reproduced on: Windows 10
Not reproducible on: No other environment tested
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
- “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
Resolution Note:
This is a VS code / C# Dev kit issue, Unity does not own the Language server used by VS Code.