I have a problem with creating a simple multiplayer game for mobile devices. Like Multiplayer Shootout project sample i made a menu for hosting and joining game. Hosting section works good and session created successfully with Use LAN true or false and level opened with listen option and everything was good.
I made a menu for search sessions like multiplayer shootout project sample and mobile devices can see host game in that menu but problem is here when i touch that host for joining i can’t join that host i know success node on join session was ran because i print a text log after that but device couldn’t join host without any error after about two or three minute level loaded without other player !!!
for test purposes i created button and run a console command Open [OtherDevice IP] and i could join to host device and everything was good.
I was surprised when i packaged game for windows for testing and run on a single machine two times one as host and other for joining everything was working perfect but only on single machine, when i tested on two PCs nothing happened and no session founds.
another thing I want to do is one device make hotspot wi-fi and other devices connect to him then a device become a host and other can join to him without modem … i tested my simple game this way but in the sessions menu there was nothing.
All devices(Mobiles and PCs) are connected to a ADSL Modem router with wi-fi connection.
Question 1 : Why i couldn’t join to host on mobile devices?
Question 2 : why PCs couldn’t see each other on find sessions menu ?
Question 3 : How i can connect device to each other without any modem ? (I mean after one device became Hotspot and other devices connect to that the multiplayer simple game can run and devices can see host in sessions menu)