Questions tagged [photon]

Photon is a realtime multiplayer cross-platform api from Exit Games.

Photon is a realtime multiplayer cross-platform api from Exit Games. It provides it's services in two forms. You can either choose to have it's fully managed Cloud service or can implement your own Server via it's Photon-Server api.

Links:-
Photon SDK

664 questions
0
votes
1 answer

Unity Multiplayer Respawn Calling C# from Unityscript

I'm trying to use my bullet collection script to delete and respawn a player when their health drops below 1. However my script to call the unity c# function is not quite working right, it says that the function im trying to call…
Grant Zukel
  • 1,153
  • 2
  • 24
  • 48
0
votes
1 answer

Extending PhotonServer for new project

I am working with PhotonServer for a Unity3d project. I started off with a simple extension of the ApplicationBase class to get it up and running. Now I would like to save myself some heavy lifting and extend the LiteLobby or even LoadBalanced…
0
votes
0 answers

Photon Prefab Instantiation

Hi i'm developing a multiplayer game with Photon server. The problem is i'm sucessfully instantiating my own character controller and its collider and the other players' as well. But when i run more than one instance of the project i cant see the…
Zzap
  • 174
  • 2
  • 3
  • 14
0
votes
2 answers

Debug message dosen't appear in log

I am new in Photon and Unit3d, so i just installed a photon server and made a little example script with log4net.config, but i dont see any debug message in my photonserver only info, I modified log4net.config. My xml code:
Asker
  • 1
  • 2
0
votes
1 answer

Unity3d Photon character movement not synchronous

I am beginner to photon on unity3d. I want to move character synchronously in a game. I am attaching script as an observer to the photon view and using this code void OnPhotonSerializeView(PhotonStream stream,PhotonMessageInfo info) { if…
Aqeel Raza
  • 1,729
  • 4
  • 15
  • 24
0
votes
1 answer

Unity 3D: RPC buffer stop working when the initial player disconnects

I am using Photon for networking with Unity. It's a peer-to-peer networking library. I basically have an RPC call to all targets (buffered) to change some game states. But when the initial player disconnects, the future players cannot get the game…
0
votes
0 answers

Debugging Photon Server

I am developing online game with Unity3D and PhotonServer on backend and I am using Visual Studio 2013 to debug my project. When I start debug my project VS asks me to provide some Photon Server's sourcecode files (e.g. ApplicationBase.cs,…
Art Drozdov
  • 157
  • 1
  • 11
0
votes
1 answer

Bullet wont collide for the other player

I've been working on a flamethrower as one of my weapons. Its a platform multiplayer online game. It is also working with photon. I am having a problem with the flames (and the other rifles bullets too). The flames which the flamethrower shoots are…
-1
votes
1 answer

I keep getting a error spammed in the log of the non master client in unity photon pun

This error keeps getting spammed in the console: (Filename: C:/Users/Finalbi/Documents/Stocks and Shares/Assets/Scripts/GameManager.cs Line: 360) NullReferenceException: Object reference not set to an instance of an object at GameManager.Gameover…
Finalbi
  • 1
  • 4
-1
votes
0 answers

Problem with input lag in 2d air hockey on Photon Fusion

I am developing air hockey and I am using host client topology and I have a problem that the client has a big input lag, but if I put on network rigidbody2d on prediction there is no input lag, but there is a problem when colising with the ball. Has…
-1
votes
0 answers

Retrieving player objects and positions for a simple Unity game

For a very simple, minimalistic unity game I developed myself, I am trying to retrieve the positions for every player. I am very new to both C# and Unity. I am following this tutorial: https://github.com/ethanedits/Universal-Unity-ESP (disclaimer I…
gaut
  • 5,771
  • 1
  • 14
  • 45
-1
votes
0 answers

How Can I Cleaned Up RPC?

I'm making a 2D shooter game, and I'm running into some errors. Received RPC "DestroyRPC" for viewID 2028 but this PhotonView does not exist! Was remote PV. Owner called. By: #02 'davdv' Maybe GO was destroyed but RPC not cleaned up. Received…
이관우
  • 3
  • 3
-1
votes
1 answer

Photon and MetaMask Websocket are conflicting in unity

Hello when I try to build my game with unity webGL I got this error : Someone knows how i can resolve it ? Plugin 'WebSocket.jslib' is used from several locations: Assets/MetaMask/Plugins/Libraries/WebSocket/WebSocket.jslib would be copied to…
-1
votes
1 answer

How do I network movement with photon

not for player movement but I need to network the AI's movement well I haven't really tried anything because idk how to network movement
-1
votes
1 answer

Creation an array that represents new position (xyz) in 3D

By using Python: If we have a certain number of photons, let's say 100 photons, which propagate for a distance 10 cm between transmitter and receiver in 3 dimensions(xyz) straight down the z axis where the initial position is (0,0,1).While…