2015-02-18 13:29 • 13 days ago
Hi,
I'm currently making a multi-player game for PS4 that supports 2-8 players via LAN and WAN by using Tasharen network. However, when joining a host that does not support UPnP the game would crash and exit game. I discovered that it crashed at GetAllNetworkInterfaces() function in TNTools.cs. I cannot see any debug information, so I'm not sure what the error is caused from. This error specifically occurs when the client(PS4 Devkit) is using a different ISP to join a game, but the Host is using an ISP that does not support UPnP.
Thanks
Sam Bickley 2015-02-18 13:46 • 13 days ago
Hey Pathompong,
We've never seen that plugin being used before. Not all plugins support all platforms, and Tasharen's website states:
TNet supports: Unity Basic, Unity Pro, iOS Pro, Android Pro.
So it's likely an issue of the plugin never having been considered for PS4.. have you tried contacting the developers to see if they have a PS4 version available?
Regardless, if you're able to get us a small reproduction project as part of a Bug Report and then let us know the case number, we'll try to investigate why it's happening and see if there's any fixes we can provide.
Steve Cawood (ME) 2015-03-03 08:44 • 1 hour ago
Interesting, I'm currently working on my game which at the moment is for PC,Mac and mobile but later this year I'll be porting it over to PS4 as I'm using Unity 5 for development.
I also use TNET for my networking and so would hope this is fixable.
Tim Cannell Unity Technologies 2015-03-03 09:34 • 40 minutes ago
We are not familiar with TNET and so are not sure exactly what is included in the package.
If it uses managed .NET socket calls, then we *should* be able to get some functionality.
However if it uses a native plugin, there is no way it will work without the TNET people porting it to PS4.
It's something you should look into now, to avoid disappointment later.
Tim
Steve Cawood (ME) 2015-03-03 10:20 • 19 minutes ago
Thanks for the reply Tim, I'll post on the TNET forum. TNET is made by Tasharen who also made NGUI. Michael worked at Unity briefly too.
Tim Cannell Unity Technologies 2015-03-03 10:30 • 8 minutes ago
Ah right, it'll be good stuff then!
Keep us informed of how it goes, and we'll fix any issues at our end as required.
Tim
Steve Cawood (ME) 2015-03-03 10:38 • 2 seconds ago
So far it's very good!
I'll keep you in the loop. Thanks again Tim.