Announcement

Collapse
No announcement yet.

Local Wifi Multiplayer without using Google Play?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Local Wifi Multiplayer without using Google Play?

    Hi all,

    I am working on a Gear VR app for the mobile game jam. I was hoping to be able to use simple local wifi multiplayer, since that's what was suggested by Oculus. It sounds like getting Google Play support requires you to publish your app on Google Play, which I don't want to do, or get everyone's Google Play username, which I can't do.

    I set up my project according to the Multiplayer shootout example. It works OK on the computer in Play in Editor mode. However, once loaded onto the phone, I get this error message when I run the Create Session blueprint node:

    Code:
    LogScript:Warning: CreateSession - Invalid or uninitialized OnlineSubsystem
    LogScript:Warning: CreateSession - Cannot map local player to unique net ID
    I have the following permissions set in Project settings:

    Code:
    android.permission.INTERNET
    android.permission.ACCESS_NETWORK_STATE
    and in my DefaultEngine.ini I have:

    Code:
    [OnlineSubsystem]
    DefaultPlatformService=Null

    #2
    So just to update the curious --- Google Play does not work either, as currently sessions are unsupported.

    The first error about Invalid or uninitialized OnlineSubsystem can be fixed by adding OnlineSubsystemNull to the Build.cs file. However it only gets as far as creating and joining a session, server map travel is broken.

    Currently the only OnlineSubSystem that is officially supported is Google Play and that does not have complete support. Google Play will not play nice with the Gear VR however, because it requires the user to access various 2D overlays. So the user would have to switch their phone into developer mode.

    In the meanwhile you can connect directly over the LAN with the console command 'open IP_ADDRESS', which you can access with a four-finger tap in developer mode before putting the phone into the headset.

    Comment


      #3
      I know this isn't a answer like you wanted but I have knowticed every one is a bit hesitant to allow anything VR go though there lines, if you have any luck with getting a service to allow you to use there wifi/multiplayer functions for a mobile device concerning VR functions I would love to know.

      Comment


        #4
        Are you saying the sessions work on android via LAN(wifi)? Should I wright exacly "OnlineSubsystemNull" and where, just at bottem?
        Hyper Thetical Games: Website|Twitter|Facebook|Instagram
        VR-Battle Racing arena game (Unreal forum thread) CentraSphere

        Comment


          #5
          So, this is the only thread I've been able to find on Android Multiplayer over wifi.

          I had been having trouble getting multiplayer to work between a PC and android device. After a lot of trial and error I've found that it is possible a PC host and an Android Client.

          However, I've yet to get it to work with a GearVR Android app.

          Has anyone confirmed if this does/doesn't work. And if not what the issue is?

          Thanks

          Swifty
          Last edited by Sw1fty; 08-30-2015, 05:26 PM. Reason: Got Android <-> PC networking working so change post to mention GearVR

          Comment


            #6
            Hi guys

            Same with me the only thread I've been able to find on Android Multiplayer over wifi, i made a small android project that run perfect in pc as host and join but when i put it in android the Clint can't find the server so the session search and join fail .

            i use direct WiFi to connect both device together ,and my blueprint is create and search then join session ,and i am new to the engine so anyone succeeded to make a game run on android Multiplayer over wifi ? if yes then how ? hope we get your answer as i reached to the desperate point for the last week that i am searching without any luck .

            Comment


              #7
              any help guys ?

              Comment


                #8
                Any help guys from epic team maybe ?

                Comment


                  #9
                  thumb up! I'm interested too

                  Comment


                    #10
                    i just tested the same project by connecting the client to the server by command and putting the IP and it worked in the same phone so why its not working with search and join session ,so pls anyone know where is the problem ?

                    Comment


                      #11
                      I have same problem too about connecting two phone over WiFi , it's a little tricky.
                      I just test the simple 3rd person project with create, find and join sessions nodes... But join not working! Session created and other phones found it but couldn't join! I couldn't find any answer, But open IP address was working
                      ABC Augmented Reality by UE4
                      GooglePlay

                      ArchVis VR

                      Comment


                        #12
                        thumb up!
                        there is nothing about Wifi android on the forum except this .

                        Comment


                          #13
                          Can we get any tips from Unreal team ?

                          Comment


                            #14
                            I am still interested in this, can't find anything. Any help would be great.
                            Hyper Thetical Games: Website|Twitter|Facebook|Instagram
                            VR-Battle Racing arena game (Unreal forum thread) CentraSphere

                            Comment


                              #15
                              https://forums.unrealengine.com/show...l=1#post447622
                              Dialectical a futuristic racer is out now on Google Play (currently soft launched in Australia / New Zealand only).

                              Comment

                              Working...
                              X