Quantcast
Channel: Photon Unity Networking (PUN) — Photon Engine
Browsing all 8947 articles
Browse latest View live

Received OnSerialization for view ID xxxx We have no such photon view.

I have a racing game where the master client is able to change the scene / track that players are racing on at any time. The players all join a room and then within that room the race manager can...

View Article


hey,I can connect to cloud by tcp but can't by tcp,what's wrong?

I setup PhotonServerSettings,when i choose tcp at Protocol ,it shows timeout.but when i change to tcp ,it can connect and do well.

View Article


Ball sync - ownership

I'm working on a 2d soccer game, and I got the character and ball sync working pretty well.But I got a problem with the ball, mainly with shooting.Now when shooting the ball I'm sending an Rpc, which...

View Article

Additive Scene Loading

We make use of additive scene loading in our game and are also making use of PhotonViews in the scene. The problem is that photon auto assigns ViewIDs to Scene views. If we load up two scenes...

View Article

Changing the Master Client Issues

Hey,I am programming on this game right now:https://www.reddit.com/r/Unity2D/comments/4lxh67/some_gameplay_of_my_hoverball_project_thoughts/This is how Multiplayer looks at the...

View Article


How does isMessageQueueRunning work? Does it pause the queue only for the...

I suppose i'm a bit confused on how the messageQueue actually works. I did manage to use it to get our game working correctly but it feels like its working half on luck because I don't understand this...

View Article

Image may be NSFW.
Clik here to view.

Top Down Shooter Rotation Problem

I'm Trying to make a Top Down Shooter Game and make the Player Rotate Towards the Mouse using this Codeif(CAM != null) { Ray ray = CAM.ScreenPointToRay(Input.mousePosition); RaycastHit Hit;...

View Article

Networking Peer

what does this FunctionPhotonNetwork.networkingPeer.OpRaiseEvent((byte)eventCode, (byte)interestGroup, (Hashtable)customEventContent, (bool)sendReliable)

View Article


Regarding web player development

After 2 years developing with unity, I finally have a confidence to learn making a browser multiplayer game. And just found out about Photon. What I want to achieve is, simply, a 2d pvp game with hack...

View Article


How to join room by matching room property in lobby ?

Hi to join room I am doing such like this : if(roomInfo.playerCount != roomInfo.maxPlayers && roomInfo.customProperties.ContainsValue("black")) { PhotonNetwork.JoinRoom(roomInfo.name); } How to...

View Article

Photon don't connect to local network but Mobile networks please help

hello every oneI am facing a weird problemI am using PUN in my game this is what happening when I use mobile network connectivity like 3G or 4G its works fine my game works goodproblem starts when I...

View Article

duplicate viewID issue on scene load

Hi,Just started to use the PUN for my project. Everything looks great! Thanks.Just 1 thing I can't understand currently. Here is editor runtime error:PhotonView ID duplicate found: 1. New: View (0)1 on...

View Article

Difference between "Unreliable on Change" and "Reliable Delta Compressed"

Hello, which is the main striking feature of "Unreliable on Change" and "Reliable Delta compressed"?And also, can you please explain the sentences which is blue on screen...

View Article


Image may be NSFW.
Clik here to view.

Force game update

Hi, So far I have not found answer to this question When I start connection I enter game version and all games with that version will connect together, however if I release multiple updates each with...

View Article

Operation failed:OperationResponse226: ReturnCode: 32758 (Game doesn't...

Hi I am getting below error while joining room : I am getting 1.Room name 2. Also room is not full 3. Joining from same region i.e Asia. 4. Testing by making .app file in mac.Operation failed:...

View Article


Image may be NSFW.
Clik here to view.

Weird issue: can't join to an existing room

I am using PUN v1.69 + Photon Cloud (JP region) and get a really weird issue as below:I have 3 devices (A, B, C) that are being joined to a same room (TestRoom).They are communicating to each others...

View Article

Matchmaking Logic

Hi, i'm creating a ccg game but right now I need a little help about the matchmaking logic: I want to create a mm that is skill based and yes i've already read the documentation.The problem is what to...

View Article


Default serialization frequency?

Is there a set frequency at which the PUN serialization code is called? Or is it called every update?

View Article

Image may be NSFW.
Clik here to view.

OnPhotonSerializeView() doesn't work correctly after reconnect (rejoin)

Hi Friends! We working on unity3d.The Game works fine.All game logic calculates Master Client.Any Client can be MasterClient, if masterClient was disconnected, My problem apperars after reconnect to...

View Article

Manipulate Scene Object by several clients simultaneously

Hi, All!I have a problem when trying to manipulate scene object by several clients simultaneously.Scene object connected via DistanceJoint2D to each client ( 2 or 3).All works well on MasterClient, but...

View Article
Browsing all 8947 articles
Browse latest View live