Unable to call Photon.PunBehaviour
So I'm trying to make the FPSController that comes in the Standard Assets package work with PUN... However, I'm having a slight issue with this. It simply won't recognize anything Photon. It throws...
View Articlebackend database
I am using Photon Cloud to develop a RPG game with huge open world. How is the backend database going to work? Does Photon Cloud have database built in? if not, what database will you recommend me to...
View ArticleGet data from master client.
Hello, What way I can get data from host? I need get spawn position.I see it like this:Request to Master Client and get callback from he with Vector2.But better way without RPC. Can I do it with...
View ArticlePhoton with Kinect V2 to send point cloud to remote user
I am creating an program where multiple participants will be interacting with each other using Kinect V2 point cloud. I am able to extract the point cloud from Kinect V2 and display it in the Unity....
View ArticleOnPhotonPlayerDisconnected not called after Disconnect() ?
Hi guys,I just spent a lot of time trying to figure out why my OnPhotonPlayerDisconnected was not called after the PhotonNetwork.LeaveRoom() on one client, and after 6 depressions and 12...
View ArticleUnity - Synchronization problem
Hi. I develop online soccer shooting game with with using Photon Network. Two players, will be goalkeepers respectively and will shoot each other.For example:Player A: ShooterPlayer B:...
View ArticlePhotonNetwork Instantiate for selected players
I would like PhotonNetwork to instantiate prefabs for only selected players in the game. Is it possible to make the photonnetwork instantiate call pass through the network to only specific players...
View ArticleOnJoinedLobby() isn't called after first login for the session
"Called on entering a lobby on the Master Server.""OnJoinedLobby() or OnConnectedToMaster() are called when PUN is ready"The callback works after failing to join a room or every other time it's...
View ArticleRoom Creation: Not all properties are forwarded to web server
Hello Photonians!Expanding our back-end system, we were looking at registering / logging the changes of room properties in a DB. We can successfully get the event on our back-end system that a room is...
View ArticleEvent called twice! WHY?
Hello, I have a Problem with Events. They are calling twice!(This code in Room script)In Awake I do event callback : PhotonNetwork.OnEventCall += OnEvent;In Start I send event to Master Client...
View ArticlePhoton stuck state after connection failure
My method for testing connection issues handling is unplug and plug back the usb wifi.I just want to handle failures.Sometimes this works fine, photon shows some errors, but I can connect back.Other...
View ArticleCan I send struct in event? Or other way?
I wanna send structure using Event, but I don't know how to add new type in CustomTypes. And are there other ways without structure send Vector2 and Integer in one event?(For economy traffic) or you...
View Articleanimator trigger not synchronizing
So I have an attack trigger and it is not synchronizing properly with the animator view, i made sure the "set trigger" script is before the animator view and i should work but it doesn't...i tried to...
View ArticleNEED HELP WITH WEAPON SWITCH SYNC
hi, i am still new to photon networking, and i am having trouble with weapon switch. i want the weapon switch to update to the other clients.here's my code for weapon switch. i dont know where to start...
View ArticleNEED HELP WITH MY SCRIPT CAMERA SHAKE
i use unity's FPS controller.i manage to make camera shake on the other players.the idea is. i shoot, my camera shakes. and when enemy is hit, his camera shakes as well. like feeling the impact.so i...
View ArticleIs there a way to figure out the Best cloud server?
Is there some kind of way or a function that returns a CloudRegionCode with the best server? I need it to compare with PhotonNetwork.CloudRegion. I've looked through the documentation and I can't seem...
View ArticleNullReferenceException on MasterClient transfer
Having some trouble figuring out what's happening here, perhaps someone can shed some light.A GameObject is instantiated using InstantiateSceneObject(), Player 2 joins,Player 1, MasterClient,...
View ArticleHow to get data(value) from room?
Hello. I created room with custom properties. How can I get by Key value of custom properties later during the game?I know about PhotonNetwork.room.CustomProperties but I don't understand how I should...
View ArticleXML File on game
Hi guys,I try to manage the ip of the file "PhotonServersSettings" with an external file
View ArticleSerialize Class on Photon
Hi I've a problem, for my "Combat System" I have an abstract class Character and 2 class Hero and NPC that inherit Character. Inside Character I have the methods Damage and TakeDamage that calculate...
View Article