Quantcast
Channel: Photon Unity Networking (PUN) — Photon Engine
Browsing all 8947 articles
Browse latest View live

Can't get instantiation to work

Hey there,In my scene I have a bunch of Card gameobjects (that all derive from the same prefab, the contents of them have been altered in the editor). Now, I'm using a method called NewDraft to spawn...

View Article


Lots of Crashes on Windows Store

Hello guys i have lots of crashes in windows dashboard. maybe anyone has some thoughts about this...

View Article


Is it possible to move from a room to another?

I want to make a "base room,' that all players will connect to. Basically so all players can message each other. From there, there will be a button they can click that'll matchmake for them, in which...

View Article

I can't connect photonNetwork sometimes.

I can't connect photonNetwork sometimes,but i can after a hours.I don't know it's my problem or the issue of photon server .It's log in GSGame .ERROR Photon.Hive.HiveGame.HiveHostGame.Plugin - Failed...

View Article

Webgl + webhost + photon pun + CORS

Building and running in my local machine works fine, but when runnning from server(000webhost) give me the following error on web console while loading the scene: No 'Access-Control-Allow-Origin'...

View Article


Is anything called before a player disconnects?

My weapon pickup / drop system is almost working. Each weapon has a photon view set to takeover, when a player picks up a weapon, that player takes over the weapon's photon view and the weapon is set...

View Article

JoinOrCreateRoom only works inside Callbacks

JoinOrCreateRoom only works inside Callbacks OnJoinedLobby or OnConnectedToMasterIs this intended?To pre-emptively answer the following:Are you connected? Yes, I check the...

View Article

Problems when run WSA Windows 8.1 and PUN v1.72

On connect got error:Connect() to 'ns.exitgames.com' failed: System.InvalidOperationException: A delegate was assigned when not allowed. (Исключение из HRESULT: 0x80000018) at...

View Article


Players cant see other playes who jus joined room at the same time

The problem is if two players try to enter the same room at the same time then one of the player is not getting instanciated. It works if we join room lil late like 5 seconds. Pls help

View Article


Update playerName for FindFriends without reconnecting

Is there a way to update he playerName without reconnecting? From what I have seen is that you have to set the playerName before connecting.My game flow works like this for new players1. Player starts...

View Article

User reconnection and lost RPC's

Hi,We have little problem with user's reconnection. Is it possible to resend RPC's which wasn't acknowledged by server after user reconnect's ? This is an issue when master lost connection during...

View Article

Lan without internet and PUN

Hi, I'm trying to create a local server for some tests, but I'm having some trouble.I have my PhotonServer installed in a windows pc with a router, and I'm connecting directly to the server. The game...

View Article

Error on new player connected

Hi,I can't find the reason, why that error appears only in client app when connected to the server. Full error message:InvalidCastException: Cannot cast from source type to destination...

View Article


Problem with PhotonNetwork.autoCleanUpPlayerObjects

** please delete this topic. This problem was not related to PUN **

View Article

Why is userId showing the name instead?

Before entering a lobby, i set the player namePhotonNetwork.player.name = "nickname";Before I create a room, i make sure publish is trueoptions.PublishUserId = true;But when I get the userID of the...

View Article


IPunPrefabPool Example for Object Pool

Hi ,I want to pool my effects in my network game.Can you pleas provide some example how to do it .What i tried 1. Add PhotonView in Effect and Call PhotonNetwork.InstantiateAnd it gets visible in all...

View Article

customproperties missing on playerconnected

custom properties are missing from photonplayer OnPhotonPlayerConnected!trying to access a property but it is null! why are properties synced after but not when connection made?

View Article


Error Message in Unity5.4: OnLevelWasLoaded was found on PhotonHandler

Hi,just switched to Unity5.4 (final release) and downloaded the latest Photon PUN Libraries, v 1.73. I still get the warning:OnLevelWasLoaded was found on PhotonHandlerThis message has been deprecated...

View Article

Image may be NSFW.
Clik here to view.

Problems when run WSA Windows 8.1 and PUN v1.72

Hello!We found a bug in your fresh release under WSA platform.Clients for all other platforms were updated because of iOS IPv6 support.Our gamers play from many platforms at the same battle and it’s...

View Article

What does isOwnerActive check?

I looked through the documentation and found nothing about the uses of isOwnerActive. I'm currently using it and it is working as I hoped it would, but it would be nice to have some more information...

View Article
Browsing all 8947 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>