0
\$\begingroup\$

When I launch Visual Studio from Unity on my laptop, I get the following error:

Screenshot of error dialog

Setup Error

The setup for this installation of Visual Studio is not complete. Please run the Visual Studio Installer again to correct the issue.

As instructed, I've tried reinstalling Visual Studio multiple times, or using the "repair" option, but nothing has resolved the error.

How can I fix this?

\$\endgroup\$
1
\$\begingroup\$

What actually worked was something along those lines:

  1. Completely uninstall visual studio.
  2. Download and install "CCleaner".
  3. Use CCleaner to clean your registry.
  4. Reboot your PC. (This seems really important.)
  5. Download and install Visual Studio Community 2019.
  6. During installation, make sure you select the game development tool package (but uncheck the unity editor installation if you already have unity installed).
  7. Let the download and install finish completely without any interruptions.

(Thanks to Alex Myers for their comment.)


If VS setup fails, these are alternatives:

  • Visual Studio Code is also at least semi-officially supported with plug ins and ability to launch from the Unity editor.
  • C# source files are just text files so you can use any text editor you wish to edit them. It won't be as nice an experience though.
  • Jetbrains Rider is an alternative.
  • MonoDevelop, it has less features but also lower requirements.

(Thanks to comments from Colin Young and trollingchar.)

\$\endgroup\$
  • 1
    \$\begingroup\$ Thank you so much @AlexandreVaillancourt \$\endgroup\$ – hkishnani3 May 28 at 14:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.