EvergineTeam / Feedback

Feedback, feature requests, and bug reports for Evergine.
https://evergine.com
14 stars 1 forks source link

Exception of XAudio2 #113

Open jhdevelp opened 2 years ago

jhdevelp commented 2 years ago

Hello guys,

I have following exception during starting application.

Unhandled exception. SharpGen.Runtime.SharpGenException: HRESULT: [0x88960001] at SharpGen.Runtime.Result.ThrowFailureException() at SharpGen.Runtime.Result.CheckError() at Vortice.XAudio2.XAudio2Native.XAudio2Create(Int32 flags, ProcessorSpecifier processorSpecifier) at Vortice.XAudio2.IXAudio2..ctor(ProcessorSpecifier processorSpecifier, Boolean registerCallback) at Vortice.XAudio2.XAudio2.XAudio2Create(ProcessorSpecifier processorSpecifier, Boolean registerCallback) at Evergine.XAudio2.XAudioDevice..ctor() in C:\azp\agent\_work\2\s\src\Engine\Audio\Evergine.XAudio2\XAudioDevice.cs:line 40 ....

I have same problem when I creating new project or use sample.

I can remove code of from VS in order to prevent exception //var xaudio = new Evergine.XAudio2.XAudioDevice(); //application.Container.RegisterInstance(xaudio) ;

but It will not fix editor error.

editor

vs_fu

I've tried


2022.1.22.1-nightly
2021.11.17.2-preview

DX11 and DX12 app result is same.

jhdevelp commented 2 years ago

I have Zbook 15 G3 and there is a another guy who have similar problem. Editor and the executable is running under a physical pc.

`System Information

     Operating System: Windows 10 Enterprise 64-bit (10.0, Build 17763) (17763.rs5_release.180914-1434)
             Language: Czech (Regional Setting: Czech)
  System Manufacturer: HP
         System Model: HP ZBook 15 G3
                 BIOS: N81 Ver. 01.14 (type: UEFI)
            Processor: Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz (8 CPUs), ~2.7GHz
               Memory: 16384MB RAM
  Available OS Memory: 16264MB RAM
            Page File: 12043MB used, 6652MB available
          Windows Dir: C:\WINDOWS
      DirectX Version: DirectX 12
  DX Setup Parameters: Not found
     User DPI Setting: 96 DPI (100 percent)
   System DPI Setting: 120 DPI (125 percent)
      DWM DPI Scaling: UnKnown
             Miracast: Available, with HDCP

Microsoft Graphics Hybrid: Supported DxDiag Version: 10.00.17763.0001 64bit Unicode `

emepetres commented 2 years ago

@jhdevelp thank you for your report, we'll check whenever possible. If you need a quick resolution, please contact our priority support.

jhdevelp commented 2 years ago

This was known bug and fixed with one of the latest beta release, Evergine probably need to target 2.1.1-beta9 or you can reference 2.1.1-beta9

Will you integrate new version of XAudio into Evergine, in order to make it working ?

I confirm that Xaudio - 2.1.1 - beta9 works for me. At least with project - Vortice.Windows Public.

Do I'am able to reference it into Evergine IDE ?

I tried also 2022.1.29.1-nightly still same error.