How to solve conflict problems between Photon PUN 2 and Photon Voice 2?
I have imported Photon Voice 2 and Photon PUN 2 in a project, but now my editor accuses the following compiling error: Assets\Plugins\PhotonLoadbalancingApi\LoadBalancingPeer.cs(166,25): error CS0121: The call is ambiguous between the following methods or properties: 'PhotonPeer.SendOperation(byte, Dictionary<byte, object>, SendOptions)' and 'PhotonPeer.SendOperation(byte, ParameterDictionary, SendOptions)'
I can't solve this conflict since simply deleting one of the .cs files is not an option (I've already tried). Did anyone had the same issue? I believe it was caused by importing both Photon packages. Any tips on how to solve this are welcome. Thanks.
Answers
-
Delete the Photon folder in your project (make sure to move anything out, which didn't import with our package) and re-import the latest Voice 2 version that's on the Asset Store. That's it.
Voice 2 currently includes PUN 2 and you don't have to import that.
0