Lobby or Room for nearby Devices

First of all I want to make it clear that I am just a beginner in unity. I am just looking for some guideline on where to start on some things. I want to create a multiplayer game which is GPS based, meaning I want only nearby devices in a room. I looked at Photon asset at the asset store that provides a wide range of functions but i am unsure about how to use it to create a room that allows only nearby devices to enter. Can anyone please guide me whether PUN is even the answer to my problem or whether I should go for some other options. Please keep in mind that this is a project for my studies, hence something that requires payment or something that will take a long time to grasp is beyond my capabilities at the moment.

This isn’t the type of project a beginner should be starting. None of the networking API’s for Unity, including Photon, will include location based room restrictions outside of continent sized regions (Unity Multiplayer connects you to other players that connect to the same relay server for that region, but I’m sure you mean far more local) so you’re going to have to code that part all yourself.

Start with learning how to use location services. After that you’re going to need to write your custom room creation and joining system based on location.

Thank you for your reply.It was the only idea I could come up with that was accepted by my supervisor. Yes, I did get that and I am now working on the room creation. It does seem unlikely that we’ll be able to complete the project at all, let alone on time. I just hope that we’ll be able to learn somethings while working on it

hey, did you finish the project?? and how far you came to because I also need to create something similar, thanks for your help.