[Photon Turnbased] Loosing connection with Room
I've managed to get 2 clients on same room and it works fine, but only for like 20-30 seconds. For the first seconds LocalPlayer.ID is 1 for the first client and 2 for the second. But after a little...
View Article[Photon Realtime]il2cpp crash on start up app iOS
Hi, Sorry for my poor english I got problem when i build to IOS device. I Use Pun+ version 1.65.1 | Unity Version 5.3.1f1Personal | Xcode Version 7.2 (7C68) Player setting in Unity I set Strip Bytecode...
View ArticleHow to load multiple online scenes in unet multiplayer?
Hi, I am facing a problem in multiplayer(using by unet) game. I have 4 scenes in my game. Scene 0 - Menu Scene 1 - Level 1 Scene 2 - Level 2 Scene 3 - Level 3 I assign menu and Level1 scene in Network...
View ArticleUNET: Client Disconnect Error: Timeout in local lobby
I have a simple game that uses custom NetworkLobbyManager. When I connect 3 android phones in local network, one client always gets disconnected after some time. It's usually between 30 seconds and 1.5...
View ArticleNetworkManager not spawning user data properly
So what I have is a menu scene where players can create their characters and save using playerprefs. then they can load the game and theyll enter the scene with networkmanager. When players load theyll...
View ArticleSocket: Cannot receive, error: Socket is not connected(57)
My app crashed on ios when i resume from suspend ( let it run in the background for 40 seconds and then reactivated). I connect the device to Xcode and I saw that crash happening after the message beow...
View ArticleNetworked object pool example for UNet HLAPI
Attached is an example of networked object pool for UNet. It uses custom spawn handler functions and has object pools on the host and clients. Instances of the specified "Prefab" object are created at...
View ArticleCustom spawn handler for a prefab with NetworkIdentity
Hi @seanr please save me again I want to create different prefabs for a spawned object on client and server. I register a spawn handler on client with the AssetID of the server prefab. The problem is...
View ArticlePhoton round timer not resetting when going back to lobby
As the title says, when I use the round timer script it doesn't reset when I go back to the lobby. Its like the timer keeps counting when I leave the room but I can't understand how that can be if the...
View ArticleNAT Punchthrough failed
Hello everyone, I'm having a problem with my server setup. I have a VM in windows Azure running ubuntu server. In this VM I setup the MasterServer and Facilitator and configure the endpoints so that...
View ArticleClient.Send not working as i expected.
Hello there, following Unity docs, i would like to send message from client to server, both is separate differently. It's working like client-dedicated server. Now i'm hanging on send a custom message...
View ArticleMoba-like sample project
This is a moba-like sample project using the HLAPI. It is totally unfinished, and has bugs, but might be useful to some people. It was written a long time ago, but appears to still work. It implements...
View ArticleOnStartLocalPlayer not being called for joining player
I started completely from scratch and OnStartLocalPlayer is not being called for the joining player at all (he does however successfully join and spawn) therefor it's not enabling the scripts that...
View ArticleSetting player name in Menu, then online
Hi In Menu scene i've got input field where player type his nick, then he join the game: Code (csharp): using UnityEngine; using UnityEngine.UI; using UnityEngine.Networking; public class...
View ArticleDisplaying player names above head
So I am a bit stuck here and am still very new to Unet networking. Here is my current code: Code (CSharp): using UnityEngine; using System.Collections; using UnityEngine.Networking; using...
View ArticleWhat are uNet's advantages over Photon/Forge/others?
Hi, Lack of documentation and proper examples is driving me nuts. I know network code is hard but I don't believe it should be this hard. I'm trying to add real time multiplayer to my game and every...
View ArticleMaster Server down ?
Hi all, We are using the deprecated Network system in our app, with the Unity Master Server and facilitator. The server seems to be down, I never get the host list (it is not working anymore since...
View ArticleWIFI issues on LAN or Android Client Windows Server?
Hi, I am meeting some issues when using UNET on multiple devices on the same LAN using WIFI. Here is my current setup: I have a server hosted on Windows that I launch before everything else. The server...
View ArticleDisabling components.
I've done a fair amount of googling and can't seem to find a solid answer - how do you properly disable a component in a multiplayer game. I'm making a 2D combat platformer - when a character's health...
View ArticleNew Photon Unity Networking Tutorial Series
Hello everyone, I am very proud to announce a project I’ve been working on over the last month: A tutorial series on how to create a high speed multiplayer game with the Photon Networking engine. The...
View Article