I’m using VS2022 v 17.6.2. The UnrealVS extension crashes whenever I try to interact with it in any way - press any button or open its settings page. The crash log shows this callstack:
SetSite failed for package [UnrealVSPackage]Source: '' Description: Katastrofalny błąd. (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))
System.Runtime.InteropServices.COMException (0x8000FFFF): Katastrofalny błąd. (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at Microsoft.VisualStudio.Shell.Package.GetOutputPane(Guid page, String caption)
at UnrealVS.UnrealVSPackage.GetP4OutputPane()
at UnrealVS.P4Commands..ctor()
at UnrealVS.UnrealVSPackage.<InitializeAsync>d__102.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Shell.AsyncPackage.<>c__DisplayClass21_0.<<Microsoft-VisualStudio-Shell-Interop-IAsyncLoadablePackageInitialize-Initialize>b__1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.VisualStudio.Services.VsTask.RethrowException(AggregateException e)
at Microsoft.VisualStudio.Services.VsTask.InternalGetResult(Boolean ignoreUIThreadCheck)
It mentions accessing Perforce output pane. I don’t use Perforce and don’t have anything related to it installed on the machine. Anyone have an idea how to fix it? I didn’t try to actually install Perforce and would like to avoid that if possible.