-
Notifications
You must be signed in to change notification settings - Fork 341
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
Problems With VS Code #451
Comments
This has started happening in the last couple months and only with VS Code (VS Community and other IDEs have no problem). I'm not sure if it's a Unity problem in how it creates the proj files or a VS Code one with Unity, but I think the latter because otherwise Unity would report an error. It seems the issue is with extension methods, which VS Code isn't capable of recognizing appropriately. Hope it gets patched soon because it's a pretty huge bug :| |
Thanks For replying so Quick! |
By the way, I recently created a new project with VS Code containing DOTween and it is working fine. There are no errors either in VS Code or in Unity Editor. |
A possible fix is to close Unity, delete the project and solution files (.csproj, .user, .userprefs) in the root of the project, then restart Unity and let it recreate the IDE files. I think it might be a problem with old project files when upgrading to VS Code, so a clean recreation should work. |
OK! |
Let me know :) |
Yeah Sure! |
Alright, so I deleted everything you said me to delete and I reopened the project and it worked until I created a new script or moved anything in the assets folder which resulted in Unity compiling and then when I opened VS Code the errors were back Again. |
I am encountering this too. UInity 2020.3.8f1, VScode 1.61.2 |
I manually added
to the auto-generated file and that seems to fix it. |
How do we solve this nagging problem? 'display: grid' is not supported by Internet Explorer. Add 'display: -ms-grid' to support Internet Explorer 10+. |
Hi! I recently switched to VS Code. I tried opening one of old project(1-2 weeks old) that contained DOtween. I open up some scripts but VS Code gives me errors that there are no dotween Functions. While I still remember it worked well with only VS, the problem is only in VS Code as there are no errors in the unity editor and I can still play the game as before.
The VS Code Window:
The Unity Editor:
Anyone Knows Why This is happening?
The text was updated successfully, but these errors were encountered: