Placeholder-Software / Dissonance

Unity Voice Chat Asset
71 stars 5 forks source link

Hololens 2 #205

Closed martindevans closed 3 years ago

martindevans commented 4 years ago

Two people have reported that Dissonance needs ARM64 binaries to work on Hololens 2. This wasn't a requirement in previous versions of Unity, but presumably something has changed in a newerversion of the editor.

Recompile opus.dll and AudioPluginDissonance.dll for ARM64 and include them in the next update.

pygd-ysb commented 4 years ago

Hololens 2 Build failed with some exceptions.

dissonance error

So, I changed the settings like this:

ARM64/AudioPlguinDissonance.dll [SDK] : Any SDK [CPU] : ARM [Don't process] : false -> true

then another error occurs.

dissonance error2

I changed again:

ARM64/opus.dll [SDK] : UWP -> Any SDK [CPU] : ARM [Don't process] : false -> true

After Changing the two files, the build was successful. But when i run the app an exception occurred.

dissonance error4

Same thing happened after changing CPU to ARM64.

HEEEEELP

==========

Environment

Windows 10 pro Unity (2019.4.9f personal) Visual studio (2019) Dissonance (7.1.2) Photon unity network 2 (2.22) MS Mixed Reality Toolkit (2.4.0 and 2.5.0)

Build through MRTK Build Window

dissonance error3

martindevans commented 4 years ago

Hi @pygd-ysb - could you post some screenshots of what your import settings look like for the two plugins? Could you also check the build result to see if the correct files have been copied into the build output? Thanks.

martindevans commented 4 years ago

While I'm waiting for an answer to the previous question, I tested out some tweaks to the import settings locally. As far as I can tell they should look like this:

Unity_2020-10-07_17-07-44 Unity_2020-10-07_17-07-56

These settings build correctly. I don't have a hololens so unfortunately I can't test them :(

davidjbain commented 4 years ago

Just tested on my hololens 2 with your plugin settings, seems to work normally for me!

pygd-ysb commented 4 years ago

Sorry for late. I tried again the next day with the same settings and it works well. 😂

martindevans commented 3 years ago

This was released a while ago, I forgot to close the issue.