Search Issue Tracker

Active

Under Consideration for 2021.3.X, 2022.3.X, 6000.0.X

Votes

1

Found in

2021.3.42f1

2022.3.42f1

6000.0.15f1

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

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.