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
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Resolution Note:
This is a VS code / C# Dev kit issue, Unity does not own the Language server used by VS Code.