Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Question Error with VS

Discussion in 'Code Editors & IDEs' started by UsuallyPeople, Mar 13, 2023.

  1. UsuallyPeople

    UsuallyPeople

    Joined:
    Feb 8, 2021
    Posts:
    5
    This error is unknown how it appeared, and now it haunts me on any version of Unity or Visual Studio.
    I tried some solutions - didn't work.
    (In last version 2022 and 2021 year).
    Error detecting Visual Studio installations: System.ComponentModel.Win32Exception (0x80004005): ApplicationName='D:\Unity Games\Test\Library\PackageCache\com.unity.ide.visualstudio@2.0.17\Editor\VSWhere\vswhere.exe', CommandLine='-prerelease -format json -utf8', CurrentDirectory='', Native error= Не удается найти указанный файл.

    UnityEngine.Debug:LogError (object)
    Microsoft.Unity.VisualStudio.Editor.VisualStudioEditor:DiscoverInstallations () (at ./Library/PackageCache/com.unity.ide.visualstudio@2.0.17/Editor/VisualStudioEditor.cs:60)
    Microsoft.Unity.VisualStudio.Editor.AsyncOperation`1<Microsoft.Unity.VisualStudio.Editor.IVisualStudioInstallation[]>:<Run>b__8_0 (object) (at ./Library/PackageCache/com.unity.ide.visualstudio@2.0.17/Editor/AsyncOperation.cs:42)
    System.Threading._ThreadPoolWaitCallback:performWaitCallback ()
     
    Last edited: Mar 13, 2023