# UnrealVS extension for VS2022 crashes

**URL:** <https://forums.unrealengine.com/t/unrealvs-extension-for-vs2022-crashes/1196113>\
**Category:** C++\
**Tags:** unreal-engine, question\
**Created:** [June 11, 2023, 6:53pm UTC](https://forums.unrealengine.com/t/unrealvs-extension-for-vs2022-crashes/1196113 "2023-06-11T18:53:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chrisaverage](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@chrisaverage](https://forums.unrealengine.com/u/chrisaverage)\
**Post date:** [June 11, 2023, 6:53pm UTC](https://forums.unrealengine.com/t/unrealvs-extension-for-vs2022-crashes/1196113/1 "2023-06-11T18:53:56Z")

</div>

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:

```auto
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.

---

<div class="post-metadata">

**Author:** ![dfalcone](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dfalcone](https://forums.unrealengine.com/u/dfalcone)\
**Post date:** [August 16, 2024, 9:48am UTC](https://forums.unrealengine.com/t/unrealvs-extension-for-vs2022-crashes/1196113/2 "2024-08-16T09:48:46Z")

</div>

I get the same issue, also no perforce installed since only using git right now.  
I get a popup that the extension failed every time I start VS.
