Non-server based application?
Is it possible to use TrueSync without a server? I'm not looking for any multiplayer or networking. I simply want to use the deterministic nature of the engine for simulations.
View ArticleExplain how to use byte code on PhotonPeer.RegisterType()
This link doesn't explain what byte code that we need to pass has to be. Can I get clarification? Why (byte)'W' in this example? What are the byte codes that are already being used by the framework?...
View ArticleLatest Unity TrueSync physics broken?
Hello everyone.FYI I'm testing TrueSync on 2 different projects. One of them is using the latest version of the Unity package and the other one the previous.In the one that uses the new version, the...
View ArticleUnity PHOTON SERVER WebGL Error
hi all,im developing a simple host-join unity webgl game using photon selfhosted server i have developed this game and tested on pc platform(.exe) and every thing goes well but when i switch to webgl...
View ArticleSimulateOwner - GetKeyDown and GetButtonDown multiple events
I'm having a problem where Input events are raised multiple times in SimulateOwner. For example, the code:public override void SimulateOwner() { if (Input.GetKeyDown(KeyCode.F)) { var flash =...
View ArticleMono does not detect new state property
I am following the tutorial of bolt. When I add new property to the state with the monodevelop opened, and run Compile Assembly, although there is no error and the code works as the tutorial said, but...
View ArticleSome questions from a newbie !! :-)
Hello !! :-)Totally new to Photon, TrueSync and all the rest of the family.Trying to investigate and making prototypes to see if I can get my head around it and if Photon serves the purposes of what I...
View ArticleCommands in Photon
Hi i am replicating a first person shooter game that was made with unity networking i want to run a command on server how would i go about it in PUN. I also have an on premises Server
View ArticleAknowledments in Photon Engine
Hi Guys,I have been working on a board game. I am just sending a dice number to the other client. The problem is that the data doesn't reach to the other client after throwing 4-5 times. Can photon...
View Article25+ NPCs that two players can interact with
I'm making a game where a game room will contain 2 players and on the order of 25-40 NPCs that the players can attack. The NPCs have simple behavior with no complex pathfinding requires (just move...
View ArticlePhoton Voice: InvalidCastException and Demo's don't work - plz help
Hi Guys,I'm trying to implement Photon Voice, but when i try to run the demo(with out push-to-talk) i get the following error message about 60 times a second:InvalidCastException: Cannot cast from...
View ArticleUsing Bolt as realtime binary data transport
Hello!Looking for a good way to transfer arbitrary data with Photon Bolt - both reliable and unreliable. 1) how well BoltConnection.StreamBytes suited for realtime use, comparing to Bolt state updates?...
View ArticleWill PhotonView serialisation automatically pack booleans as bits?
For example, if I serialise 8 booleans in a row, will they be packed into a single byte, with each bit being on or off? Easy enough to do manually, but I don't want to write any code that is already...
View ArticlePhoton Server CCU Question
Sorry that this question may have been answered many times, but I have searched and have not found an answer.I'm confused on Photon Server CCU. If I plan to self-host a server using Photon Server on my...
View ArticleLag with only two players.
Hi, I have a problem in my online fps, I'm using Photon Unity Networking and the viking demo as a base for my game. I notice a lot of lag in movements of only two players in my match, the movement of...
View ArticleDifferent send rate per photonview
Are we able to have different sendrate for different photonviews? I would want different objects to updated at different rates to optimize the data trasnfer.
View ArticleNetworked Projectiles
A few people have asked how they can make network based projectiles.The kind where you can't just do a raycast like a bullet, as the projectile is much slower and can be dodged by the players or AI....
View ArticleHow to solve physics problem?
condition1. make scene object2. push scene object as master client and other client3. using photonTransforview, PhotonTransformPhysicsresultmaster client push object well but other client has...
View Article