gw2-addon-loader / GW2-Addon-Manager

Installer and updater for Guild Wars 2 addons.
MIT License
443 stars 54 forks source link

Crashes when run via Whisky.app on macOS #224

Closed amckinlay closed 8 months ago

amckinlay commented 8 months ago

GW2 Addon Manager.exe crashes upon launch with:

Critical Error An Unhandled Exception Occurred. Exception from HRESULT: 0x88980406

I tried launching it with Whisky.app 2.2.3 running WINE 7.7.

log.txt:

[Log Entry]
3/10/2024 3/10/2024 4:12:12 PM
Exception from HRESULT: 0x88980406
   at System.Windows.Media.Composition.DUCE.Channel.SyncFlush()
   at System.Windows.Media.MediaContext.CompleteRender()
   at System.Windows.Interop.HwndTarget.OnResize()
   at System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

GW2 Addon Manager.exe.config:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
    <startup> 
        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
    </startup>
  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <probing privatePath="resources\plugins" />
      <dependentAssembly>
        <assemblyIdentity name="CommonServiceLocator" publicKeyToken="489b6accfaf20ef0" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-2.0.5.0" newVersion="2.0.5.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="YamlDotNet" publicKeyToken="ec19458f3c15af5e" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
      </dependentAssembly>
    </assemblyBinding>
  </runtime>
</configuration>
cheahjs commented 8 months ago

Bug is likely out of scope of the project, but you can get past the error if you install the d3dcompiler_47 dll via winetricks, but rendering is likely to be broken.

amckinlay commented 8 months ago

Why not include it?

On Sun, Mar 10, 2024 at 7:32 PM Jun Siang Cheah @.***> wrote:

Bug is likely out of scope of the project, but you can get past the error if you install the d3dcompiler_47 dll via winetricks, but rendering is likely to be broken.

— Reply to this email directly, view it on GitHub https://github.com/gw2-addon-loader/GW2-Addon-Manager/issues/224#issuecomment-1987411075, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKJ2W7YPILM5N2NYBI2CGLYXTUSHAVCNFSM6AAAAABEPJM3C6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBXGQYTCMBXGU . You are receiving this because you authored the thread.Message ID: @.***>