Voice SDK added to a PUN2 project causes conflicts
Options
LPD_JP
✭
in Photon Voice
We have a PUN2 (2.18.1) project I'm trying to integrate Photon Voice (1.23) into. Unfortunately importing the SDK from the asset store causes a ton of compiler errors (missing namespaces, classes, using directives etc.). This is reproducible on an empty project.
Some of the issues seem to be from asmdef dependencies being all wrong, but there are also some name differences (PhotonNetwork.inRoom vs PhotonNetwork.InRoom etc).
My question is: is there a version of the Voice SDK that we can seamlessly drop into a PUN2 project?
sample errors:
Some of the issues seem to be from asmdef dependencies being all wrong, but there are also some name differences (PhotonNetwork.inRoom vs PhotonNetwork.InRoom etc).
My question is: is there a version of the Voice SDK that we can seamlessly drop into a PUN2 project?
sample errors:
Assets/Photon/PhotonRealtime/Code/Extensions.cs(40,19): error CS0246: The type or namespace name `PhotonView' could not be found. Are you missing an assembly reference? Assets/Photon/PhotonRealtime/Code/LoadbalancingPeer.cs(691,133): error CS0246: The type or namespace name `EncryptionMode' could not be found. Are you missing `Photon.Realtime' using directive?
0
Comments
-
Hi @LPD_JP,
Thank you for choosing Photon!
Photon Voice Classic (Photon Voice 1) is compatible with PUN Classic (PUN 1).
Photon Voice 2 is compatible with PUN 2.is there a version of the Voice SDK that we can seamlessly drop into a PUN2 project?1 -
Thanks a lot @JohnTube , that explains a lot.
Seems like Photon Voice 2 is not listed on the official site at https://www.photonengine.com/en-US/sdks#voice-unity-csharp-sdkvoiceunity where I looked for the sdk initially.0