0
votes

just like the title Unity Scripts edited in Visual studio don't provide autocomplete. i am trying to make a rigid body and as you can see it doesn't recognize it, some help? By the way i can't change the "External script editor" to something else but "open file by extension:

c# writing

enter image description here

2
Are you asking about the C# programming language, or the Javascript-derived deprecated UnityScript programming language?Llama
C# programming languageNAOR OR ZION
Have you tried visual studio code. I created an extension method yesterday and it was picked up by the other scripts immediatelyMonofuse
no, what do you mean? how did you create it?NAOR OR ZION
Visual Studio doesn't automagically generate autocompletes for you, you'll need the Visual Studio Tools for Unity extensionEnfyve

2 Answers

0
votes

Your installation of Visual Studio is probably missing the Visual Studio Tools for Unity extension. Try this installation guide: Get started with Visual Studio Tools for Unity

0
votes

There is a previous forum that provides guidance on this issue which is still relevant in 2021:

Unity Scripts edited in Visual studio don't provide autocomplete

One solution that worked for me that was not in that forum was going to the Solution Explorer tab in Visual Studios. Right click the solution and hit resolve errors. This may fix the issue.