Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

BP Network Cross-Plat Question?

Thanks for checking out this question! I have seen it asked 6+ times but only some components were addressed, so this should be helpful for a lot of people attempting the same thing.

End-Goal: To create two unique applications using UE4 - one for Android acting as a gamepad, and one for PC acting as the main game - which communicate over LAN. If possible, using UE4 and Blueprints only.

This tutorial series on YouTube is great, but raised a few more questions.

The Editor's Play button and it's options (# of instances, dedicated, etc.) run the same game. This is not ideal since I don't want the entire game on mobile, just a light-weight controller. Most of BP's networking functionality seems to rely on this implicit network structure. This tutorial does not cover communication between two different UE4 applications, which led me to believe the correct approach was communication via network sockets (which might require C++?).

I know this is possible since I found a video on YT of someone who had accomplished exactly this goal using the gyroscope data as input, but he provided no information other than the Android app was coded in Java. I'm really trying to avoid coding right now, but if there is no other way then can someone point me in the right direction?

If someone is willing to spell it out for me, that would be fantastic since I am focusing much more on learning/developing in UE4 with no other focus on networking at the moment.

Otherwise, if you could at least clear up the best method to accomplish this goal I can try to dig futher, and if I ever solve it I will post the answer here for other people since this seems to be a relatively common question from newb hobbyists like me, with pretty in-explicit answers from professionals!

Please help! Thanks!!

Product Version: UE 4.14
more ▼

asked Jan 10 '17 at 07:00 PM in Blueprint Scripting

avatar image

3 1 1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first
more ▼

answered Jan 10 '17 at 08:19 PM

avatar image

2.1k 67 84 77

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

nah, you need 2 separate apps, and use some middleware api. Abandon all hope, you'll need to code.

more ▼

answered Jan 11 '17 at 10:11 AM

avatar image

383 10 7 19

avatar image PressOK Jan 11 '17 at 07:56 PM

Err thanks, that conflicts a little with what CleanCut said - why do I need two apps and middleware to communicate? I'm currently tinkering with it, having some trouble exporting to Android anyways... This is getting quite frustrating compared to the ease of Unity, not to mention the information available for Unity is much clearer and extensive... But I would really prefer to use the superior engine

avatar image Holybreath Jan 12 '17 at 11:16 AM

oh you want LAN. Then it's possible yes. And yeah, you can cook whatever you want specifically for android / iOS / PC . accept clenacut answer then, it's correct.

avatar image PressOK Jan 12 '17 at 01:49 PM

If it is possible under one project then: What is the best way to achieve this networking in BP? Can the Client/Phone's level replicate variables to the PC/Server if it has a different level loaded? I did finally achieve this in Unity with some C#, but again, I REALLY want to use Unreal instead of Unity. Any further help is appreciated.

avatar image PressOK Jan 12 '17 at 02:02 PM

Or should I do it using RPC's? If one blueprint (phone) contains a function labelled "Run on Server" under Replication, then when that function is called on the phone, will the Server also call it even from within a different level?....

There are so many possibilities and so little documentation - I'd have to try everything?

avatar image Holybreath Jan 12 '17 at 03:56 PM

um...no...only if they are on the same level.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question