Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Eskinto

Pages: [1]
1
TNet 3 Support / version 2.1.0 RFC issue
« on: June 10, 2015, 09:49:38 AM »
Hello,

I've found an issue/bug when upgrading from Tnet v2.0.4 to the latest v2.1.0, suddenly none of my RFC calls get called, I get no warning/error on the console, and it seems to happen only when not connected to a server

tested on both Unity 5.0.2, and 5.1

Edit: I can replicate it just by opening a new project, importing Tnet 2.1.0, opening "Tnet/Examples/Scenes/Example 1" and clicking on the cubes, nothing happens on 2.1.0, works fine on 2.0.4

2
TNet 3 Support / Target.All lags on host
« on: March 31, 2015, 09:13:44 AM »
Hello there,

I'm having a lag issue when calling RFC functions locally as a host, when connected to a remote server that has about 600ms ping.

I get the same issue on the TNet Example scenes, namely clicking on a cube to change it's color:

tno.Send("OnColor", Target.All, color);  -> This is the default line, and has about a 1 second delay locally

changing it to:

tno.Send("OnColor", Target.Host, color); -> This runs instantly as expected

is this intended? it makes sense that Target.All should run instantly locally

thanks a lot for your help,
Vic


3
TNet 3 Support / Assign TN Object ID on runtime
« on: March 31, 2015, 08:50:49 AM »
Hello! thanks for an amazing plugin, it's made moving from single-player to multiplayer extremely easy :)

I'm using PoolManager (a prefab-recycling plugin) to pool/recycle prefabs instead of using instantiate/destroy, the game needs this because we spawn/despawn a lot of prefabs on runtime

The problem I'm having is that when the level loads and the prefabs get instantiated, their TNObjects don't have a unique ID, and this throws an error

My workaround so far has been:

Modifying the TNObject script to do a "UniqueCheck()" on Awake(), removing the If Editor checks and so on...

I'm not sure what's the best way to do this, since it's going to run on all the clients and it might give inconsistent results eventually, any ideas?

thanks!

Pages: [1]