Send Integer values from smartphone to Unity
Hi everyone,I recently created a simple VR research application for 2 players with PUN.additionally I use a Polar H7 heartrate sensor that sends the information once a second via bluetooth over to the...
View ArticleHelp me. NullReference exception : streamBuffer ourStream and customobject...
Hello. i am learning programming and photon PUN.I am working simple game with Unity2017. when i finish the game, i leave a room and join room again. through the lobby, i first join random room, then if...
View ArticleAccount Service registration callback error
I get this error when importing photon network from the asset store. I have successfully imported PUN on a new project but when i try to load it on an existing project i get this error. Im using unity...
View ArticlePhoton fails to compile when imported into existing project
This is all I get, cant find anything on it. Works fine with a new project.Assets/Photon Unity Networking/Editor/PhotonNetwork/AccountService.cs(120,22): error CS0122:...
View ArticleExpected Users array is null, despite being set on room creation.
Hello!I have got my turn-based game saving and loading state data from Playfab pretty nicely now!However when I create a room with type Load and pass it the following State data...{ "ActorCounter": 1,...
View ArticleStopping non-master clients from sending Instantiations?
Hey everyone,I've just started tinkering with pun at the beginning of the week and I've ran into some issues when trying to make the master client "authoritative".As far as I'm aware, if I instantiate...
View ArticleStuck in PeerCreated state
Hello all,We're working on a multiplatform (web/ios/android) multiplayer game which has been working fine until a few weeks now. Once it get disconnected due to internet issue or staying in background...
View ArticleSceneInstantiated AI enemy, runtime logic help
Hi, I was wondering what happens if you spawn an AI enemy via PhotonNetwork.InstantiateSceneObject? I have tried looking around for the answer, but to no avail.Does all of the attached scripts run on...
View ArticlePhoton does not delete empty rooms
I'm developing a game using Photon as Playfab add-on. When the development was coming to an end I was very disappointed with such an unpleasant moment: at some point the rooms in which there are no...
View ArticleFail to import on existing project
Im using unity 5.5.1f1 and i have succesfully imported photon and photon voice chat into a new project. However I have an existing project that I will be adding photon functionality too. When importing...
View ArticleIPv6 for Unity iOS Exports
Apple now requires iOS apps to support pure IPv6 connections.We tested PUN v1.75 and it supports IPv6, including the "Best Region" setting. If you use the Photon Cloud, you only have to make sure your...
View ArticleHow to Get Room Properties if all I have is the room name?
I want to return a list of rooms my friends are playing in, but in my lobbies the room name is actually a custom room property, so when I get the list back in OnUpdatedFriendList() I only have access...
View ArticleIn what order is PhotonNetwork.playerList in?
I was wondering in what order is PhotonNetwork.playerList in? I would think it would be in Actor ID order with the Master client being first, but it dosent seem to be so... Could somone shed some light...
View ArticleHow to Get server time when server receive RPC
I current working on photon cloud server and I want to do a game with command base with fix FPS.How can I get the time when server receive RPC For Client to execute the command at same game loop time?
View ArticlePhoton: the second game don't connect
First I'm sorry for my English. I have a problem with the connection with photon, I have 2 scenes, the first with the menu and the second with the game. When I access the game scene, it connects to the...
View ArticleCallback for when attempting to create a room but room already exists?
I read some suggestions to get the entire list of rooms to check if the desired room name already exists, but I don't want the user to have to download the entire list of rooms.Is there a callback for...
View ArticlePhoton connection problems in second try
First I'm sorry for my English. I have a problem with the connection with photon, I have 2 scenes, the first with the menu and the second with the game. When I access the game scene, it connects to the...
View ArticleScene Loading: Additive Scene Loading Questions
Hey everyone! I'm building quite a complex game here and I'd like a few tips about some of the structure. First of all, we have the entire game lobby on one scene, and the plan is to load the game...
View ArticlePhoton: the second game don't connect
First I'm sorry for my English. I have a problem with the connection with photon, I have 2 scenes, the first with the menu and the second with the game. When I access the game scene, it connects to the...
View ArticlePhoton: the second game don't connect
First I'm sorry for my English. I have a problem with the connection with photon, I have 2 scenes, the first with the menu and the second with the game. When I access the game scene, it connects to the...
View Article