# Photon voice errors

**URL:** <https://forum.magicleap.cloud/t/photon-voice-errors/1148>\
**Category:** Unity Development\
**Created:** [October 25, 2022, 11:05am UTC](https://forum.magicleap.cloud/t/photon-voice-errors/1148 "2022-10-25T11:05:30Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![MatteoFifth](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/matteofifth/32/2158_2.png) [@MatteoFifth](https://forum.magicleap.cloud/u/MatteoFifth)\
**Post date:** [October 25, 2022, 11:05am UTC](https://forum.magicleap.cloud/t/photon-voice-errors/1148/1 "2022-10-25T11:05:30Z")

</div>

**Unity Editor version** : 2022.2.0b8  
**ML2 OS version** :B3E.220818.12-R.046-R.417  
**MLSDK version** : 1.0.0  
**Host OS** : Windows 10

Hi, I'm trying to set up a scene to test the photon integration with magic leap 2. I imported the Photon Voice 2 plugin in unity and opened their sample scene. After the photon set-up, I changed the main camera to the magic leap one. This setup works among two editors and allows for voice communication. I built the scene and installed it on magic leap, but here the communication doesn't work. Through logcat, I can see some errors, shown in the following screenshots.

 ![Error1](https://us1.discourse-cdn.com/flex019/uploads/magicleap1/original/1X/605acfdbaa4eceee74329997a3853f227b908fe5.png)

 ![Error2](https://us1.discourse-cdn.com/flex019/uploads/magicleap1/original/1X/9876c169f3e991495a37518580f931f48d112bb0.png)

Photon should be compatible with Magic Leap anyone tried it?

For convenience, I also upload a textual version of logcat in the following file  
[photonerror.txt](https://forum.magicleap.cloud/uploads/short-url/zAPYRql8YhJvoUkoRJ4dkWJRbRb.txt) (12.4 KB)

---

<div class="post-metadata">

**Author:** ![kvlasova](https://avatars.discourse-cdn.com/v4/letter/k/f6c823/32.png) [@kvlasova](https://forum.magicleap.cloud/u/kvlasova)\
**Post date:** [October 25, 2022, 3:27pm UTC](https://forum.magicleap.cloud/t/photon-voice-errors/1148/3 "2022-10-25T15:27:43Z")

</div>

Hi @MatteoFifth,

Thank you for posting your issue. I'm looking into this and will get back to you as soon as possible.

---

<div class="post-metadata">

**Author:** ![kvlasova](https://avatars.discourse-cdn.com/v4/letter/k/f6c823/32.png) [@kvlasova](https://forum.magicleap.cloud/u/kvlasova)\
**Post date:** [October 26, 2022, 4:34pm UTC](https://forum.magicleap.cloud/t/photon-voice-errors/1148/4 "2022-10-26T16:34:56Z")

</div>

Hi @MatteoFifth,

Our SDK team is aware of this bug and it will be patched in a future release.

---

<div class="post-metadata">

**Author:** ![workgithub11](https://avatars.discourse-cdn.com/v4/letter/w/8e8cbc/32.png) [@workgithub11](https://forum.magicleap.cloud/u/workgithub11)\
**Post date:** [February 9, 2023, 8:43pm UTC](https://forum.magicleap.cloud/t/photon-voice-errors/1148/5 "2023-02-09T20:43:31Z")

</div>

Hi! Was this bug patched yet? I've also been unable to use Photon Voice

---

<div class="post-metadata">

**Author:** ![kvlasova](https://avatars.discourse-cdn.com/v4/letter/k/f6c823/32.png) [@kvlasova](https://forum.magicleap.cloud/u/kvlasova)\
**Post date:** [February 15, 2023, 3:53pm UTC](https://forum.magicleap.cloud/t/photon-voice-errors/1148/6 "2023-02-15T15:53:55Z")

</div>

Hi @workgithub11,

It is set to be patched in a release coming out around March. We will follow up when it is released.

---

<div class="post-metadata">

**Author:** ![edd](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/edd/32/832_2.png) [@edd](https://forum.magicleap.cloud/u/edd)\
**Post date:** [April 12, 2023, 1:13pm UTC](https://forum.magicleap.cloud/t/photon-voice-errors/1148/7 "2023-04-12T13:13:24Z")

</div>

Hi @kvlasova, any update on this?

---

<div class="post-metadata">

**Author:** ![edd](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/edd/32/832_2.png) [@edd](https://forum.magicleap.cloud/u/edd)\
**Post date:** [April 26, 2023, 12:45pm UTC](https://forum.magicleap.cloud/t/photon-voice-errors/1148/8 "2023-04-26T12:45:59Z")

</div>

For anyone interested in this, if you're part of the Photon industry circles you can contact Photon and get a Photon Voice package which includes the .so file for the 64-bit opuscodec.

I confirmed this works by receiving audio from other devices. However, sending audio is broken due to Unity Microphone issues, which I believe is what @kvlasova was referring to being fixed in an up coming SDK release

---

<div class="post-metadata">

**Author:** ![kvlasova](https://avatars.discourse-cdn.com/v4/letter/k/f6c823/32.png) [@kvlasova](https://forum.magicleap.cloud/u/kvlasova)\
**Post date:** [May 10, 2023, 4:21pm UTC](https://forum.magicleap.cloud/t/photon-voice-errors/1148/9 "2023-05-10T16:21:15Z")

</div>

Hi @edd,

Have you tried using it with the latest SDK release?

---

<div class="post-metadata">

**Author:** ![edd](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/edd/32/832_2.png) [@edd](https://forum.magicleap.cloud/u/edd)\
**Post date:** [May 10, 2023, 5:23pm UTC](https://forum.magicleap.cloud/t/photon-voice-errors/1148/10 "2023-05-10T17:23:58Z")

</div>

I've not tried the latest version that they provide via the Asset Store, but you can clearly see that the x86\_64 version is not included in the package

![image](https://us1.discourse-cdn.com/flex019/uploads/magicleap1/original/1X/65edf69e800b685b61391a3d7c7003d9313fda3a.png)

I am, however, part of the photon industry circles and they were able to give me access to the x86\_64 of the libopus\_eqpv and libwebrtc-audio via their discord server. That appears to be the only way at this time.

Also for anyone else who is reading this you need to enable ML Audio in your Magic Leap XR settings for it to work.

---

<div class="post-metadata">

**Author:** ![kvlasova](https://avatars.discourse-cdn.com/v4/letter/k/f6c823/32.png) [@kvlasova](https://forum.magicleap.cloud/u/kvlasova)\
**Post date:** [May 16, 2023, 1:43pm UTC](https://forum.magicleap.cloud/t/photon-voice-errors/1148/11 "2023-05-16T13:43:27Z")

</div>

Just to clarify, I meant the latest Magic Leap Unity SDK release (1.6.0) provided in Magic Leap Hub to resolve the microphone issue - is everything working as expected now?

---

<div class="post-metadata">

**Author:** ![edd](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/edd/32/832_2.png) [@edd](https://forum.magicleap.cloud/u/edd)\
**Post date:** [May 16, 2023, 2:20pm UTC](https://forum.magicleap.cloud/t/photon-voice-errors/1148/14 "2023-05-16T14:20:24Z")

</div>

Ah sorry. You were referring to the microphone audio issues. It turns out that it was just the ML Audio tick box that needed enabling to fix that aspect of it.

Yes, everything is working as expected now.

---

<div class="post-metadata">

**Author:** ![kvlasova](https://avatars.discourse-cdn.com/v4/letter/k/f6c823/32.png) [@kvlasova](https://forum.magicleap.cloud/u/kvlasova)\
**Post date:** [May 16, 2023, 2:21pm UTC](https://forum.magicleap.cloud/t/photon-voice-errors/1148/15 "2023-05-16T14:21:00Z")

</div>


