Overview
In collaboration with Mike/M2H we’ve been developing a multiplayer version of the official Unity demo “3rd Person MMO Controller”. This demo now shows the power of Unity AND Photon. The multiplayer is implemented using the new Photon Unity Networking plugin.
win7 х64
4672: 03:56:33.649 - CService::OnException() - Exception: CManagedHost::PhotonRunning() - Failed in AppDomain: 3 - Cannot load Counter Name data because an invalid index ‘’ was read from the registry.
I downloaded the link you posted but I got the following errors:
Assets/Photon Unity Networking/Plugins/PhotonNetwork/NetworkingPeer.cs(19,31): error CS0433: The imported type `ExitGames.Client.Photon.PhotonPeer’ is defined multiple times Assets\Plugins\PhotonUnity3D.dll (Location of the symbol related to previous error) Assets\Photon Unity Networking\Plugins\PhotonNetwork\library\Photon3Unity3D.dll (Location of the symbol related to previous error)
Assets/Photon Unity Networking/Plugins/PhotonNetwork/NetworkingPeer.cs(19,43): error CS0433: The imported type `ExitGames.Client.Photon.IPhotonPeerListener’ is defined multiple times Assets\Plugins\PhotonUnity3D.dll (Location of the symbol related to previous error) Assets\Photon Unity Networking\Plugins\PhotonNetwork\library\Photon3Unity3D.dll (Location of the symbol related to previous error)
I didn’t import the PUN files but, for some reason, when I reimported everything and it just worked! Who knows…
The only problem is that now I can’t connect to the server! When I hit Play in the Editor, the server stops and Unity returns an connection error.
Did anyone experience that as well or am I missing something? I’m using the server downloaded from the Photon site, since I’m on a 64-bit Windows and the server that comes with the Viking demo is x86.
The websites server is not compatible with PUN. Please use the bundled XP version, this will work on almost any windows version. I think you will be able to get a 64bit build for your specific OS if you request it. For this first launch XP was chosen as target as that’ll ensure it’ll run on any server.