Can PUN be used as a network like Rust?
Hello everyone! I don't know if PUN supports data preservation. For example, I built a house on the ground. When the server restarted, I could read the archive and brush out the house.Can PUN be realized?
View ArticleNetworkCullingHandler for scene gameobjects
Hello, I think the main purpose of the CullingArea is to use NetworkCullingHandler in the player, but what about the common gameobjects with AI that runs in the master and should be sync with the rest...
View ArticleIs there any way to leave out a search parameter, or have PUN ignore a custom...
I would like to move away from finding and creating rooms by a name, and want to be able to find a room by properties- Game Mode, Player starting health, Pickups active, etc. But am a bit lost. I...
View ArticleConnecting to Master Server works in build but not editor.
Iv experience this issue several time once in unity 2018.1 and 2018.2. the editor will work for a period of time then after maybe 2 - 3 hours working, it no longer connects to the master. I then build...
View ArticleUnity, event runs twice, can't figure out why.
Hello guys, i'm making a Real-Time multiplayer combat game, but i'm stuck with a thing: When i am in the room, i disconnect from the room and i reconnect back again, my event, OnLevelFinishedLoading...
View ArticleError using custom authentication with playfab. Need help!
I get this error when trying to use custom authentication with playfab: OperationResponse 230: ReturnCode: 32755 (Custom authentication service error: Error). Parameters: {} Server: NameServer Address:...
View ArticleLive video stream
Hi, Currently I try to implement a live video transmission using the RaiseEvent functionality of PUN and the Photon Cloud. Here is a sample snippet code:...
View ArticleEnable Unity's Ui only for the player how triggered it
Hello. I am having quite a hard time trying to find a solution to my problem. I am trying to activate a panel with Unity's new UI, but this panel to be active only on the screen of the player who...
View ArticlePun 2 Mobile
Hi dear my friends, I want to know how I make 2D Mobile Game with PUN 2. I have not found 2D Mobile tutorial. How I make a joystick and where I add codes? I have found PUN1 tutorials but PUN1 and PUN2...
View ArticleRoom always showing 0 players
Client A creates a room, client B joins, OnPlayerEnteredRoom is called but the number of players always shows 0. I've tried PhotonNetwork.PlayerList.Length. I should note when client A OnJoinedRoom is...
View ArticleMultiple packet loss
Good day! In our application there are a lot of disconnections of players and within 2 to 4 seconds messages may not come at all. We tested on various types of network connections (TCP and UDP), at...
View ArticlePUN replacing dots with commas when passing a string trough OnSerializeView
Im really lost on this one, This didn't start to happen until recently, out of the blue. It messed up my whole project and its unplayable. I use strings with all the info needed and then decompose them...
View Article1 PUN for 2 different projects UNITY
Hi all, Well ive been working in a "launcher" project made with Unity that allows the client to create and invite other players to a room. Now in a different unity project with the same app id im...
View ArticleMP Scoreboards?
I hope I am using the right title. In my game, I want a scoreboard displayed for each player connected to the room. This will display their score and username to each other player. I had a version of...
View ArticlePUN 2 Not Working
I'm developing a game with Unity and I´'m using Photon's PUN 2 To manage the game's online mode, before, the online connect and list the rooms of the lobby very well, but, I don't know why it isn't...
View ArticleStuck on ConnectingToNameServer. App placed in background does not reconnect...
I'm running into a problem where the app goes into the background and disconnects. When I refocus I check if we are disconnected and reconnect. The problem is that it only reconnects tot the nameserver...
View ArticleSee knock back effect immediately on client side
Hello guys ! Currently I'm working on client side prediction of my game. I want a client to see knocked back effect on target immediately when the target gets hit by rocket. Using photon.instantiate...
View ArticleHow to update a gameobject and all its children on network?
I'm making a bubble shooter game. So far, I have achieved that both the player are instantiated rightly with a single problem -- the bubble which were supposed to be instantiated only on one client,...
View ArticlePhoton and Unity 2018.2.2
Hi, I got this error when I tried to update Unity to 2018.2.2. Updating Assets/Photon Unity Networking/Editor/PhotonNetwork/Views/PhotonAnimatorViewEditor.cs - GUID: a3f61bade114730459f7ad45f5f292c1......
View ArticlePUN2 with no Internet connection cause errors
Good day, guys. I have the problem. When i use PhotonNetwork.ConnectUsingSettings(); with disabled Internet connection it causes 2 errors which i can't handle (try-catch doesn't work too): Connect() to...
View Article