EOS_Windows_RTCOptions.XAudio29DllPath

Hi,

I have recently upgraded to the version 6.0.0 of the EOS plugin by EOSContrib for Unity and it worked fine but I must have messed up something because when I hit Play in the Editor, I get this error that prevents EOS to login :

Invalid parameter EOS_Windows_RTCOptions.XAudio29DllPath reason: cannot be null or empty

It doesn’t happen when I switch to Windows as the plateform or when playing on a real device. Only in the Editor with Android as the plateform.

Any idea? I have been pulling my hair for two days (and I didn’t have much hair left to begin with).

I appreciate the help,

Hi Sullivan,

This is a bug due to the removal of x86 support. We’ll work on fixing the issue in a future release.

As a temporary workaround:

In the editor, the reference to the file xaudio2_9redist.dll is using one of these paths:

  • eos_plugin_for_unity\Assets\Plugins\Windows\x86\xaudio2_9redist.dll
  • Library\PackageCache\com.playeveryware.eos@a52a1380df3c\Runtime\Windows\x86\xaudio2_9redist.dll

You can Copy (duplicate) the file from the Windows\x64 folder. Rename the copy so it is used as the x86 version (with the same file name).

-Jeff

Thanks Sullivan! We’ll take a look at the cleanup issue you mentioned as well.

Thanks [Content removed] Shyy​ for the reply.

I figured it would be something like that. I went back to 5.1.2 and it is working. If this helps, the bug also causes some issues when cleaning up between Play sessions. The first time, it returns the xaudio error, but the second, the Editor just freezes and needs to be shut down.

Probably useless for you, but just in case.

Anyways, thanks for the heads up and keep up the good work, EOS is great.