Questions tagged [photon-pun]

57 questions
0
votes
0 answers

How to integrate Ready Player Me with Photon in Unity

I'm using empty Gameobject(Prefab) as a player to instantiate it as a player on the photon server after that i'm using ReadyPlayerMe webgl plugin to load the avatar into the game at the runtime and making it child of PlayerPrefab.. however Photon…
0
votes
1 answer

İn Unity Photon Network , Learn who did the bullet come from?

I make a game using photon network . 2 actors are shooting at each other and when the bullet is formed on the stage I want to know who the bullet came from. I can send player id in bullet Instantiate and I can find player in for loop but i don't…
Arafin
  • 37
  • 6
0
votes
0 answers

RPC is being called by the Host but not by other clients

So, I started using Unity Photon Engine and RPC very recently. To Summarize, my project is about changing color of a square by using a color picker, but the color of the square should change in all instances of the game, During Run-Time, Master…
0
votes
2 answers

Photon player moment issue

Hi I'm trying photon multiplayer movement for the first time, there seems to be issue when I move my player the other connected person sees the player which I'm moving & not theirs. Below is the code. using System.Collections; using…
Omkar P
  • 29
  • 5
0
votes
1 answer

Unity Photon 2 spawning players

I am having hard time to spawning players for my game, I followed Blackthornprod tutorial for multiplayer but I can't spawn players just like he do, The errors I get every time I run it is "NullReferenceException: Object reference not set to an…
0
votes
1 answer

Using Photon in Unity not in sync with the players

I have recently started using Photon to create multiplayer games, my tutorial is linked here: https://www.youtube.com/watch?v=93SkbMpWCGo . As you can read from the title of this problem, the players movements are not syncing. here if the code for…
-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

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
2 answers

Cannot implicitly convert type int to UnityEngine.GameObject[]"

I am trying to get all of the GameObjects with the tag of Player but it comes up with the error "Cannot implicitly convert type int to UnityEngine.GameObject[]". My code is: using System.Collections; using System.Collections.Generic; using…
1 2 3
4