Hi I just started a new URP 3D project on unity version 2021.3.1f1
earlier I installed visual studio 2022 & deleted visual studio 2019.
I have set in the preferences > External tools > External Script Editor to Microsoft Visual Studio 2022.
I have tried fixes such as deleting the library folder so it will be rebuilt upon opening the project again, regenerating project files, removing the folder located at %localappdata%\Microsoft\VisualStudio<version>\ComponentModelCache, and every fix I come across and still it didn’t help.
This is my Error:
Error detecting Visual Studio installations: System.ComponentModel.Win32Exception (0x80004005): ApplicationName='D:\Users\Daimnon's\Documents\Projects\Unity\LF2Tribute\Library\PackageCache\com.unity.ide.visualstudio@2.0.15\Editor\VSWhere\vswhere.exe', CommandLine='-prerelease -format json -utf8', CurrentDirectory='', Native error= The system cannot find the file specified.
UnityEngine.Debug:LogError (object)
Microsoft.Unity.VisualStudio.Editor.VisualStudioEditor:smile:iscoverInstallations () (at Library/PackageCache/com.unity.ide.visualstudio@2.0.15/Editor/VisualStudioEditor.cs:59)
Microsoft.Unity.VisualStudio.Editor.AsyncOperation`1<Microsoft.Unity.VisualStudio.Editor.IVisualStudioInstallation[]>:<Run>b__6_0 (object) (at Library/PackageCache/com.unity.ide.visualstudio@2.0.15/Editor/AsyncOperation.cs:38)
System.Threading._ThreadPoolWaitCallback:performWaitCallback ()
[ICODE][/ICODE]
[Inserted as code because of smiley faces instead of : D & : P
Along with lots of Burst Compiler Errors which I assume relates to the IDE not being detected.
I searched the web all night and came up with no solution to my problem…
Any advice on what Should I try next? or anyone who know how to fix this thing?