- Home /
"Application" word in code not recognized.
So recently I hit a wall in coding. I tried coding some other things in my project when I first started out but a lot of the words I was trying to call on were not getting a colored as if they were recognized by Unity or Visual Studio. I am using Unity version 2019.4.13f1 (64-bit), and I am using Visual Studio Community 2019 16.7.7. Both were installed together. I even recently re-installed both to see if it was an issue with the installation but it still will not recognize certain words. I have attached an image of what I am talking about. The word "Application" should be colored as it should be recognized but it's not. I don't know if there is something else I need to download in Unity to get it to work or not.
Answer by Spip5 · Oct 30, 2020 at 05:43 PM
Does you have the "Assembly-CSharp" text under your tab ?
If not, then the link between Unity and Visual Code is broken. Usually closing them both, re-opening Unity and opening the script from Unity fixes the issue. If it doesnt work, try this :
https://answers.unity.com/questions/1635099/visual-studio-is-not-recognizing-unity.html
Thanks for the reply! I will have to try this and see if this works.
Your answer
Follow this Question
Related Questions
OnSceneExit? 3 Answers
How to end a game with ESC button. 1 Answer
How to Exit Application in Android on Back Button 3 Answers
Unity 5 - ExitApplication(); causes Crash 1 Answer
onExit, onQuit, or anything like that? 2 Answers