-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IntelliSense lost when developing with C# for Unity #1535
Comments
I think I have the same thing. Any suggestions on how to debug this? |
Can confirm the same issue with VSCode + C# + Unity. Omnisharp keeps restarting. This is what I managed to get from embedded developer tools: ("potentially unhandled rejected promise" and "Error: Canceled: Error: Canceled" are looping on every Omnisharp restart) |
@BazIdle good find. Which Unity version are you on? Figured a downgrade might fix it. I've tried to find previous versions of vscode for OSX with no joy. Any ideas where to find one? (The builds on the Wiki are auto-trashed by OSX claiming they're corrupted - so I have to look elsewhere...) |
@VinditCo 5.2.3f1 Are you, perchance, getting the same errors in Dev. Tools? |
Looks like it ! Like 91 of Workbench causing an issue
|
After this and the disastrous Unity update I'm going to have a new rule: Don't download any software updates pushed during December. All devs are on the egg-nog... |
That stack trace is unhappy but won't be the cause of this issue. Can check your omnisharp log (Cmd+L, L) and paste it here? |
Here is my omnisharp log. I don't know why there are some strange characters. I'm not using any Chinese characters in the directory names and project names. There are only Chinese characters in comments.[INFO] Starting OmniSharp at 'd:\Work\AlienTown\AlienTown.sln'... |
@jrieken here you go: https://gist.github.com/BazIdle/c1aae81f1fc6d6e0122d |
This seems to be an issue with omnisharp. Moving there and see what we can do |
This issue was moved to OmniSharp/omnisharp-roslyn#371 |
The IntelliSense worked fine at the beginning when I started the VS code. Sometimes after I used it for a little while, The IntelliSense would lost.
I have two ways to fix this: One is to type the command "Restart Omnisharp" and I will get IntelliSense again. Most of time this way will work, But sometimes it won't. Another way is to close vs code and reopen it. This way worked every time.
I guess the IntelliSense lost usually happened when I write comments in Chinese. But sometimes it didn't happen. I'm not sure.
I'm using C# language. Windows 10. Newest version of Unity and VS code and dotbunny unity tool.
The text was updated successfully, but these errors were encountered: