Ping class producing false positives, alternative to check connectivity?
I'm checking for online connectivity using **Application.internetReachability** against both LAN and Data Networks. Unfortunately I've found that if the client is connected to a network, but that...
View Articleclient to client ping - NAT punchthrough
Hi, is there any way to get client A to client B ping when they are connected to the same server? I need a way to get the direct ping from client A to client B, without going through the server. Can...
View ArticleBest way to check internet connectivity (Android + iOS)
We're developing an app, which has to maintain an internet connection to communicate with our Smartfox servers. Before connecting to our Smartfox, we need to know if there's a stable internet...
View ArticleCan only ping the MasterServer after pinging it externally using command...
Been trying to get master server code working for some time now. Thought a straight up copy from the example would get things running. The example was working fine, but after changing the game name and...
View ArticleMathf.PingPong with ease in and out?
I have the following code in Update() which counts from 0 to 100 and back to 0, but I want to make the value start slowly, build up to speed as it increases, then slow as it reaches 100, and then speed...
View ArticleSession timeout does not notice work being done in Unity web player and...
Currently I have a web application with a session timeout window that pops up after 20 minutes of inactivity. However, I noticed that when I work inside and play inside the Unity web player, the...
View ArticleIs web site available from within a scene
I have been searching the Q&A to get an answer but everything I look it either costs money (which, being out of work I currently don't have) or doesn't work in all situations (i.e. public vs...
View ArticleArc Movement Lerp, Mathf.Sin and Mathf.Pingpong question
Hello everyone, i am trying to move an object from a point to b, and b to a, in short using Mathf.PingPong. But on the way, i want it to make arc movement, like it's bending. So I have searched a bit...
View ArticleVery Low fps.
Hi there! I have script wich realizes creatures behaviour. If there are 3 or more monsters with this scripts FPS will become very low. If i delete all Update methods (Update(), FixedUpdate(),...
View ArticleVery Low FPS
Hi! I have very very low fps in my game. My creatures have behaviour script attached and if i remove this script or at least Update() functions fps will become normal. So suggest me please something to...
View ArticleSwitching from Phothon Cloud to Server?
Me and some friends have been working on a simple Multiplayer project. It's only a small project meant to entertain us. We are currently using the Photon Cloud but due to the high ping we would like to...
View ArticlePing multiple objects?
So I know you can select multiple objects in the hierachy. Selection.gameObjects(); And I know how to highlight one object. EditorGUIUtility.PingObject(j.gameObject); But how do I highlight multiple...
View ArticleCheck InternetConnection
I've tried to using Ping for check the internet is available or not but it's checking only wifi connected but if i connect with 3G network then always it gives me the no Internet connection. So, is...
View ArticleAm i using the ping class right?
I am new to unity and i just want to make sure my code is working right(no hidden bug or anything like that) public class pingping : MonoBehaviour { Ping ping; List pingList; void Start () { pingList =...
View ArticlePing make my android app crash if no internet connection
Hi, I am looking for a system which determine if internet is available when i launch my app. After searching on internet i have try many solution and on editor this one works : IEnumerator...
View ArticleNetworking: Cannot get average ping to server
The title says it all, I am trying to use `Network.getAveragePing(NetworkPlayer)` I don't know if the getAveragePing method works or not, the issue I am having is finding a value for the NetworkPlayer...
View ArticleProblem exporting solution to WebGL
Good morning, I'm using Unity 5.3.3f1 Personal and into my code I have to use the Unity Ping class ( http://docs.unity3d.com/ScriptReference/Ping.html ). The building and execution in internal Unity...
View ArticleGet ping to player
The server instantiates and spawns a _player prefab_ for every player that joins the server. The code is centered around that prefab. How can I get the ping to that _player prefab_? I see in the...
View ArticleWhy UnityEngine.Ping get return time -1 in some Android Devices?
I use UnityEngine.Ping to check the network state, expect to get delay time by Ping.time. But in some Android Devices, Ping.time always return -1. By the way, I try to use...
View ArticlePing a Matchmaking room
I am trying to sort the room that matchMaker.ListMatches gives me. However, I do not see any way to ping a room the player is not connected to. I have tried using: Ping toThem = new...
View ArticleHow to find out a players ping?
Hey! Does anyone know how I can find a players ping. All the answers that I have found so far have been outdated, so some updated info would be great. Thanks!
View ArticleDetect ping from a web server in Unity Android
hi all, I am working on the same thing, I have to check two servers by ping. so calling web services from one of those live server. my ping works fine in unity editor and it inyellugently switch...
View ArticleUNET : RTT on Local Network look high (around 50~60)
Hi everyone, I'm testing the RTT (Round Trip time) in the Local Network with UNET, the results look high, like I said in the topic's title, it get **around 50-60ms**. The RTT on LAN should be lower...
View ArticleUnity Maximize lag
Hello there.. im having issues with lag in unity. The problem is when im playing my game without maximizing it in unity it have 200 or 150 fps.BUT when i MAXIMIZE the window it's having something like...
View ArticlePing an Ip
Hello I'm currently trying to ping an External/public IP but its not working. My code works fine if I ping an online server ect. But for some reason it never returns .isDone when I ping a routers...
View ArticleUnity unet command - ClientRPC roundtrip time is unexpectedly long
I created dedicated server on AWS EC2. It's unity app using NaTTraversal. If I do command line ping from client to server the ping is 48ms. If I send unity CMD to server and it comes back with RPC, the...
View ArticleDoes UnityEngine.Ping currently support ipv6 addresses on mobile devices?
I would like to know if UnityEngine.Ping currently supports ipv6 addresses on mobile. We have tried to connect to an iPV6 ip with UnityEngine.Ping, but we got stuck, similar to the user in this thread:...
View ArticleError while trying to Ping in Unity - C#
I am trying to ping one of the servers using C# Ping. Returns an error on first execution, but claims that the operation was completed successfully. System.Net.Sockets.SocketException (0x80004005): The...
View Articlepossible to ping project asset on log click ?
Hello all, I wrote a script that detects and log a message when layer errors in prefabs are found. foreach(T component in root.GetComponentsInChildren(includeInactive: true)) { if...
View ArticleiOS cannot access cellular internet
Hi, Some of our users reported that the iOS app cannot access internet w$$anonymous$$le using cellular connection. We managed to to produce it with iPhone 13 mini, iOS 15.7: Clean Unity Project with...
View Article