question

MANUELRODRIGUEZMATESANZ-4005 avatar image
0 Votes"
MANUELRODRIGUEZMATESANZ-4005 asked AnnaXiu-MSFT commented

Visual Studio 2019 taking A LOT of resources when using Unity Engine Extension

Hi! This issue has been reported multiple times but this sucks so much. When using Unity Engine + VS 2019, if the project uses many assemblies (thanks to Unity's assembly definition), Visual Studio takes between 30 to 50% of the CPU and makes everything an absolute nightmare. Intellisense gets unresponsive and then VS.

Clearing the Temp folder nor disabling and renabling the extension don't work. This never happened to me with VS2017, btw.

I had to purchase Script Inspector 3 asset to replace VS2019, because I can't work this way.

Any idea?

vs-general
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

AnnaXiu-MSFT avatar image
0 Votes"
AnnaXiu-MSFT answered AnnaXiu-MSFT commented

Hi @MANUELRODRIGUEZMATESANZ-4005 ,

Welcome to Microsoft Q&A!

Please refer to: Troubleshooting and known issues (Visual Studio Tools for Unity) and try to update your VS 2019 to the latest version to check again.

If it persists, I suggest you report it in Unity Forum for help.

Sincerely,
Anna


If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I have the latest Visual Studio 2019 version (installed from VS Installer), and all the packages and extensions updated. This have been happening since 16.1 and Unity says the same, go to Microsoft as it is VS issue and not Unity's.

0 Votes 0 ·
AnnaXiu-MSFT avatar image AnnaXiu-MSFT MANUELRODRIGUEZMATESANZ-4005 ·

Please try to run your VS in safe mode: open CMD and go to C:\Program Files (x86)\Microsoft Visual Studio\2019\version name\Common7\IDE folder, run the command: devenv /safemode to run vs without any extensions, check if the installed extensions affect or not.

0 Votes 0 ·