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"

Android host

Hi all , i have a little problem , i create a game for android device , i do a lobby/host session.

When i create a session on the mobile preview, i can join from my mobile , but when i create session on my mobile , i can't join from the mobile editor !

And in the log i have this : NULL: Can't start an online game for session (Game) that hasn't been created

If anyone have idea, teel me ! :)

Thanks in advance !

(i have already set [OnlineSubsystem] DefaultPlatformService=Null in defaultengine.ini)

Product Version: UE 4.8
more ▼

asked Sep 12 '15 at 02:04 PM in Blueprint Scripting

avatar image

1 2 1

avatar image Shadowriver Sep 12 '15 at 02:43 PM

This message appears when Session (it's null) is failed to be initiated, do you maybe got any hinting logs before that message?

avatar image DAUGHTER Sep 12 '15 at 03:18 PM

http://puu.sh/k8IcJ/b8cfa15239.png , when i start a session , Session create appear so it's good ,

and when i join http://puu.sh/k7Mse/d7eb33ad10.jpg , Hello appear too !

But i don't know :/

avatar image Shadowriver Sep 12 '15 at 03:59 PM

I asked you if there any logs before "Can't start an online game for session", because that error message seems to be consequence of something that failed to initiate session, where session is null because something failed

avatar image DAUGHTER Sep 12 '15 at 04:54 PM

D/UE4 (27089): [2015.09.12-15.45.19:292][1792000]LogOnline:Warning: NULL: Can't start an online session (Game) in state InProgress

This maybe ?

avatar image Shadowriver Sep 12 '15 at 06:52 PM

thats really wierd because that message can be only show is session is not null where message you gave in anwser if session is null. You sure you not activatesing CreateSession twice? I browse source code and notice online session is related to AGameSession, possibly it manages session creation for you, try not createing session and see what happens. Also paste full log, but do it in PasteBin or other pasting site

avatar image DAUGHTER Sep 13 '15 at 10:13 AM

I don't have activating 2 create session , and i don't have source code :/ , and nothing in log... maybe an issue with android ?

avatar image mightyenigma Mar 16 '18 at 11:51 PM

Also try doing a full dev build of the project and installing it to an android device. I noticed that some things don't work in Play in Editor very well, especially with multiplayer.

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

0 answers: sort voted first
Be the first one to answer this question
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