Photon Viking Demo

Photon Viking Demo

Get it - runs ins the cloud, no Server necessary
Download from the Asset Store:
Photon Viking Multiplayer Showcase | Network | Unity Asset Store

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.

Have fun and watch this short preview: http://www.youtube.com/watch?v=NfmsDzU4Q94.
Making of: http://www.youtube.com/watch?v=f8S-xSsB9hg&feature=mfu_in_order&list=UL

Related Asset Store Downloads
Photon Unity Networking: Photon Unity Networking Classic - FREE | Network | Unity Asset Store
Photon Angry Bots Demo: Photon Angry Bots Multiplayer Showcase | Templates | Unity Asset Store

Requirements
Compatible with Unity Free.

As server use either

Feedback is welcome! Just reply here.

:slight_smile:
What’s the name of the music track?

Asset store says I need Unity 3.4.1 to download the demo - but 3.4.1 is not yet publicly available.

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.

hmm. yes the asset stores says unity 3.4.1 required… can’t download.

We re-uploaded with the 3.4 final :#.

Still looks to be requiring 3.4.1 on the asset store. Is there a time lag for the update to take effect?

+1

It has been resubmitted, but not yet approved by the asset store team.

We do now have a 10 minute video showing you how you could add multiplayer to the original Viking demo: http://www.youtube.com/watch?v=f8S-xSsB9hg&feature=mfu_in_order&list=UL

Until approval you can use this temporary download link:
not necessary anymore - live in asset store

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)

using Unity 3.4.0f5

Did you also import the Photon unity package?
The viking demo already includes PUN, so downloading that will cause these errors.

The updated package is live on the asset store, please download it from there :).

Hm…not for me . Still showing the need for 3.4.1.


oxl

Same…

This is caching issue in your browser - press reload.

I was talking about the asset store inside unity, but never mind, it’s there now .


oxl

Hi Leepo!

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.

It seems there is IP 127.0.0.11 configured in MainMenuVik.cs. change this to 127.0.0.1.