Questions tagged [photon-pun]
57 questions
0
votes
0 answers
Photon Pun Show Score Star Rating
I'm making a mulitplayer game using photons, the game has almost all of them, but I have problems in the process of displaying the star rating score, everything runs normally when playing alone, the score ui also appears, but when the player plays…

Hyera Hyera
- 1
- 2
0
votes
0 answers
Photon PUN 2 | Teleport bug when master changes
I need some help with photon. I have a fast PhotonView object and its master is constantly changing. Sometimes this object is teleported on other devices. Do you know the solution? how can i create a solution
I tried using RPC and the result was…

Furkan Nebioğlu
- 74
- 3
0
votes
1 answer
Invite player Photon Pun Unity
I'm trying to make a multiplayer game now, I'm trying to create a function to invite players if they have entered a name, but when the host has created a room, the list of players who are in the lobby does not appear. Even though other players have…

Hyera Hyera
- 1
- 2
0
votes
0 answers
AI photon pun2 i dont understand why this is comming
Exception: Write failed. Custom type not found: AINavmesh
ExitGames.Client.Photon.Protocol18.WriteCustomType
(ExitGames.Client.Photon.StreamBuffer stream, System.Object value,
System.Boolean writeType)…
0
votes
1 answer
Unity Photon Pun Voice - Mute your team channel and subscribe all other channels
I am using photon pun and voice for a VR app where I am using Oculus Quest 2. In that app there is 2 group of users. The first group connects from the same place, and they play near each other, and the second group connects from remote places to…

Akin Erkan
- 273
- 3
- 14
0
votes
0 answers
Unity Photon WASD working but Virtual Joystick won't work after another player has joined the network. How can I fix it?
I am creating a multiplayer service using photon.
It is possible for the user to move using WASD or Joystick in this service.
The joystick function works well when I am alone, but when someone else enters, the joystick function for everyone does not…

딩가둥
- 1
- 2
0
votes
0 answers
Error after importing Photon Pun 2 in Unity (Failed to find entry-points)
I just imported pun 2 in Unity. Set up the app ID.
But whenever i make any changes in any of the script, it gives me this error:
"Failed to find entry-points"
Here is the full error:
Failed to find entry-points:
System.Exception: Unexpected…

Rahul
- 3
- 3
0
votes
0 answers
Photon PUN 2 play function only on server side
I am little bit struggling with the Photon PUN 2 Unity Version 21.3.4f1. I want to make easy game where 2 players guessing letters from the secretary. Everything works good, but now I find the problem that my little brain cant solve :D I want to add…

V1lko
- 53
- 8
0
votes
0 answers
How to play sound only at a certain distance?
I have Audio Source. On certain events, the sound is played through the function:
[PunRPC] private void PlaySound() {
GetComponent().PlayOneShot(shootSound);
}
And then this function is called via
photonView.RPC(nameof(PlaySound),…

MaminHacker
- 1
- 2
0
votes
0 answers
how to fix onConnectedToMaster not calling
im attempting to create crossplatform play with oculus and pc using PUN 2 but i cant connect to the server and im stuck on the loading screen
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Photon.Pun;
using…
0
votes
0 answers
Sync player opacity across room using Photon.Pun?
I'm making a multiplayer game, and something that a player can do is slowly turn invisible. For the player that calls this function to turn fade out, it works flawlessly from their POV. But from another player's POV, their opacity doesn't change at…

g1761156
- 1
0
votes
0 answers
When using photon network, animator root motion rpc not work
Is it possible animator root motion rpc other client?
In some documentation it is said that photon rpc cannot send root motion application. Is it exatly?

Bak
- 1
0
votes
0 answers
Missing Reference Exception Photon Pun
I am Working on an multiplayer fps game the code throws an missing reference exception in the line given below the error doesn't show up when there is only one player in the room but it starts coming as soon as another player joins the room
private…

Malay Joshi
- 3
- 1
- 3
0
votes
1 answer
Why does using PhotonRigidbody2DView give 'elastic' movement?
I'm currently using photon pun 2 to learn simple 2d multiplayer.
Using PhotonRigidbody2DView is giving an 'elastic' movement to the player. The player goes forward a bit and then returns to the original position.
Here's the…

Rahul
- 3
- 3
0
votes
0 answers
CreateRoom failed. Client is on MasterServer (must be Master Server for matchmaking)
I'm making a multiplayer game, when I create a room, there is an error, but I can still enter the room. Does the error affect the room? or do I just let it go? or is there something wrong with my coding? please help me fix it.
This is the error…

Hyera Hyera
- 1
- 2