Help me, PUN state is PeerCreated
Hello everybody,I try build my project to android, but PUN state is PeerCreated and can't connect to photon.I was build my project to PC console or play in the editor, is run successory but I build in...
View ArticleReverse position vertical game
Im making online game like air hockey. I have problem with sync position.In the game Player1 and Player2 spawning at bottom. Players moving only between center of the screen and bottom.My problem is if...
View ArticlePhoton Network API Server To Client Disconnection Due to RPC Help Request
Hello Devs, the project i am working alongside uses Serialise and RPC calls to move items around a scene, the issue i am having is that after a certain amount of RPC buffered calls, the server will get...
View ArticleCan't connect to Photon server - SwitchToProtocol: Udp...
Heya,yesterday I imported the 'Photon Unity Networking Free' package from the asset store. Sadly however, it doesn't seem to work. As soon as I use the line of code...
View ArticleAnti-Cheating Measures
I have a few questions, all more less related to the subject of preventing players from cheating in my game. I know PUN is not authoritative, so what measures are there to prevent players from...
View ArticleReJoinRoom not behaving as expected
Hi guys,I have some code to automatically rejoin a room in the event of an unexpected disconnect. Everything works fine, except when the player rejoins, it doesn't automatically update the other...
View ArticleLength of bufferedRPC stack
HelloIs there any restriction of bufferredRPC stack?For example:This is switching gun function[PunRPC]void SwitchGun(string gunID) {}So lets switch gun 1000 times, 1000 calls will be in new...
View ArticleHow To use free 100 CCU in Unity
Hey Guys,Im New here.I dont know how to use Hardware ID in Unity!Can Anyone tell me how to use this??NOTE:Im not GOOD at ENGLISH
View ArticleSend custom derived class via RPC
I have a base class called action which has many derived classes for each different action.I would like to register one method of serialisation/deserialisation for the base class and then use that for...
View ArticleHow to instanlty remove an actorID from a room while PlayerTtl is set to...
Hello guys!I'm creating a network room with the following options: RoomOptions roomOptions = new RoomOptions();roomOptions.MaxPlayers = 2;roomOptions.CleanupCacheOnLeave =...
View ArticleHelp my Spawn photon Not working
Can anyone help me please my script is correct more when i go from enter the object does not appear.using UnityEngine;using System.Collections;[RequireComponent(typeof(PhotonView))]public class...
View ArticlePhotonNetwork.GetRoomList () does not give array of rooms
Hello everyone, stopped working method PhotonNetwork.GetRoomList (), but PhotonNetwork.countOfRooms shows that there is room. Please tell me what could be the reason, here's the code: public class...
View ArticleScene's physic objects synchronisation
Hi, I'm would like to have rigidbody objects in my scene (like balls, we could say) and every clients should be able to push those objects. So the question is, how do I sync the physics or even the...
View ArticleType of Observed is Unknown when Receiving
Hey everyone,I'm making changes to my code and after it working fine, this error decided to show up.Player 1 is chilling in the game, and player 2 connects.Player 1(android) begins shooting missiles...
View ArticleI need to animate player with root motion.
Helllo, all I need to play animation which have root motion to run it properly. It runs fine on my end. but in client end- root motion is disable on animator. can any one help?
View ArticleControl instantiated object with nav mesh
Hi there,I'm trying to get a really basic example working where on joined room I instantiate an object such as a cube that has a nav mesh agent component. I would then like each player that joins the...
View ArticleHelp, I've imported the PUN Unity import but i don't know how to fetch my AppID?
Help, I've imported the PUN Unity import but i don't know how to fetch my AppID?
View ArticleRPC a collision
Hello, I set up photon in my 2D side scrolling MMO game (think maplestory rip off) and its working well so far I can get multiple to connect appear and move around I just wish they wouldn't collide...
View ArticleBest Practice: Make a static tree asset "network instantiated" real-time
HeyI've posted this question in the wrong sub-forum. It is about PUN.I just try to figure out what the best practice scenario with PUN would be on this. Most examples are about a few player objects,...
View ArticleWhere to store player elo when implementing skill based matchmaking!
Hello everyone!I'm trying to implement skilled based matchmaking using LobbyType.SqlLobby.I'm following the code examples from this videoMy question is, where should I store elo (skill rating) of every...
View Article