Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

459
Views
Unity Scripts edited in Visual studio don't provide autocomplete on certain lines

When I edit the C# Unity Scripts, they open in Visual Studio. I've noticed that the autocomplete works on some lines but it doesn't in others.

Here you can see what's going on:

Moving image showing the issue

As you can see I get the autocomplete for GetComponent function only when I type inside the line 19.

I also tried this:

Additional picture that describes the issue

By moving the whole Start() function, autocomplete seems to work, but when moving back to the original place, it seems to stop working again.

By further testing, I noticed that autocomplete does not work on lines 11 through 14 and works on any other line.

I tried updating Visual Studio, deleting and recreating the C# Script, regenerated the project files and even reimporting all assets. Nothing worked.

Unity Version: 2020.2.7f1 Visual studio: 8.9.2 OS: macOS 11.2.3

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Hm, that's strange. Try to go into the unity editor, go to edit/preferences/external Tools and select the VisualStudio version you are using as the external script-editor.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!