danielscherzer / GLSL

VSIX Project that provides GLSL language integration.
258 stars 28 forks source link

UnrealVS extension is not working when glsl language integration is enabled (for non-unreal projects) #114

Closed v310r closed 1 year ago

v310r commented 1 year ago

Installed product versions

Description

getting an error on solution startup, that UnrealVS did not load correctly image

Steps to recreate

  1. Download and enable the UnrealVS extension
  2. Download and enable glsl extension
  3. open any non-unreal solution

Current behavior

currently, UnrealVS cannot be used, but when I tried to disable glsl extension - it began to work.

I checked ActivityLog.xml and found such a string:

457 Information VisualStudio Begin package load [UnrealVSPackage] {DDBF523F-7EB6-4887-BD51-85A714FF87EB} 458 Error VisualStudio SetSite failed for package [UnrealVSPackage]Source: '' Description: Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED)) System.Runtime.InteropServices.COMException (0x8000FFFF): Catastrophic failure (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__86.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) {DDBF523F-7EB6-4887-BD51-85A714FF87EB}
0x8000ffff - E_UNEXPECTED

Expected behavior

UnrealVS and glsl should work independently and correctly without any errors for non-unreal projects

danielscherzer commented 1 year ago

Thanks for reporting the problem. I found two Unreal extensions on the marketplace: I assume the problem is with this extension? Did you try the unreal wizard?