# NULL: Can't start an online game for session with BLUEPRINTS

**URL:** <https://forums.unrealengine.com/t/null-cant-start-an-online-game-for-session-with-blueprints/327212>\
**Category:** Blueprint\
**Tags:** unreal-engine, bug-report, feedback, question\
**Created:** [July 31, 2015, 6:21pm UTC](https://forums.unrealengine.com/t/null-cant-start-an-online-game-for-session-with-blueprints/327212 "2015-07-31T18:21:45Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![makai](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@makai](https://forums.unrealengine.com/u/makai)\
**Post date:** [July 31, 2015, 6:21pm UTC](https://forums.unrealengine.com/t/null-cant-start-an-online-game-for-session-with-blueprints/327212/1 "2015-07-31T18:21:45Z")

</div>

Hi,  
i made a detailed post but it lost so i repeat it quick:

Im working on a multiplayer game, i was able to do a game play session over steam by using shooter template with our assets without problems.  
also multiplayer shootout template works as expected.

Then i wanted to create everything from scratch,  
now i get:

```
 NULL: Can't start an online game for session (Game) that hasn't been created

```

By using blueprints.  
Either i am not able to host a session or i am not able to find a session… always not working

Please checkout these threads:

> **[Session found in PIE but not in packaged Game](https://forums.unrealengine.com/questions/263920/session-found-in-pie-but-not-in-packaged-game.html)**
>
> Hello, i actually have problem that i can find my session when i start a PlayInEditor Session but i can not find it in a packaged game… project first was converted from 4.2 to 4.6, 4.8 and then rebuild from scratch (blank 4.81) and copied assets...

> **[Strange Editor Behavior with 4.8](https://forums.unrealengine.com/questions/258427/strange-editor-behavior-with-48.html)**
>
> Hello, first off i want to thank you guys so much for 4.8 and your decision to give UE4 for free! I noticed strange editor behavior i can not explain myself (its only for my project) Sometimes after playing Game in Editor “Play” editors mouse...

> **[USE STEAM FOR MULTYPLAYER](https://forums.unrealengine.com/questions/270682/use-steam-for-multyplayer.html)**
>
> Hi all, I followed that guide for use Steam for create multiplayer session: I can compile the game without any troubles, but when i launch it i can’t create a session

As adviced by :  
([[Bug Report] JoinSession doesnt work with warning "Invalid Player State" in 4.7.4 - Multiplayer & Networking - Epic Developer Community Forums](https://answers.unrealengine.com/questions/205272/bug-report-joinsession-doesnt-work-with-warning-in.html))

no steam running: client verbose log no steam running server verbose log no steam running

steam running: client verbose log server verbose log

ue4\_verbose\_server.txt (35.7 kB)  
ue4\_verbose\_client.txt (32.0 kB)  
nosteamrunning\_server.txt (35.7 kB)  
nosteamrunning\_client.txt (31.9 kB)

We need a tutorial to fill knowledge holes about STEAM, actually existing for many people NOT using shooter template.  
Thank you for any help.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_33800a51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_33800a51](https://forums.unrealengine.com/u/anonymous_user_33800a51)\
**Post date:** [August 2, 2015, 8:26pm UTC](https://forums.unrealengine.com/t/null-cant-start-an-online-game-for-session-with-blueprints/327212/2 "2015-08-02T20:26:33Z")

</div>

Hey ,

So this only occurs in your project, correct? First Person template and Multiplayer Shootout have no problems connecting? And this is in a packaged project? If you could upload this project (or another small test project that has same problem) someplace like Dropbox or Google Drive, that might prove helpful. You can send me a download link via PM on forums, if you’d like:

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_33800a51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_33800a51](https://forums.unrealengine.com/u/anonymous_user_33800a51)\
**Post date:** [August 12, 2015, 10:09pm UTC](https://forums.unrealengine.com/t/null-cant-start-an-online-game-for-session-with-blueprints/327212/3 "2015-08-12T22:09:29Z")

</div>

Hi ,

I got your project, and I’m looking into it now. Can you let me know if you’ve run through process described [here](https://docs.unrealengine.com/latest/INT/Programming/Online/Steam/index.html)?

Thanks!

---

<div class="post-metadata">

**Author:** ![makai](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@makai](https://forums.unrealengine.com/u/makai)\
**Post date:** [August 12, 2015, 11:05pm UTC](https://forums.unrealengine.com/t/null-cant-start-an-online-game-for-session-with-blueprints/327212/4 "2015-08-12T23:05:09Z")

</div>

hi ,  
thank you for your help!  
yes i ran through process and i can see steam overlay but im not able to connect over ip (internet) and im not able to find sessions over internet with 2 different steam accounts and forwarded port of 7777 and 27015

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_33800a51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_33800a51](https://forums.unrealengine.com/u/anonymous_user_33800a51)\
**Post date:** [August 27, 2015, 4:01pm UTC](https://forums.unrealengine.com/t/null-cant-start-an-online-game-for-session-with-blueprints/327212/5 "2015-08-27T16:01:44Z")

</div>

Hi ,

Sorry for delay, I was out sick for a while and I’m getting back to testing this issue for you now. Quick question: are you using whitelisted Steam accounts for these tests?

---

<div class="post-metadata">

**Author:** ![makai](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@makai](https://forums.unrealengine.com/u/makai)\
**Post date:** [September 1, 2015, 8:15pm UTC](https://forums.unrealengine.com/t/null-cant-start-an-online-game-for-session-with-blueprints/327212/6 "2015-09-01T20:15:08Z")

</div>

hi ,  
best health to you!  
Just tested with latest packaged project after many hours struggling with packaging errors.  
Still not working multiplayer over steam, if uses start hosting local with parameter -NOSTEAM and launching 2x they can find their own session.  
But not over steam / internet!  
clients are not whitelisted but Shooter Template and Multiplayer Shootout both work over Steam and same conditions.

thank you for any help and thank you thousand times for any fast help especially

---

<div class="post-metadata">

**Author:** ![makai](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@makai](https://forums.unrealengine.com/u/makai)\
**Post date:** [September 9, 2015, 6:11am UTC](https://forums.unrealengine.com/t/null-cant-start-an-online-game-for-session-with-blueprints/327212/7 "2015-09-09T06:11:45Z")

</div>

please don’t forget me, this is really important for me, as we want to release near winter

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_33800a51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_33800a51](https://forums.unrealengine.com/u/anonymous_user_33800a51)\
**Post date:** [September 9, 2015, 9:42pm UTC](https://forums.unrealengine.com/t/null-cant-start-an-online-game-for-session-with-blueprints/327212/8 "2015-09-09T21:42:44Z")

</div>

Hi ,

Haven’t forgotten about you. I’ll get back to you as soon as we can. Thanks for your patience!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_33800a51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_33800a51](https://forums.unrealengine.com/u/anonymous_user_33800a51)\
**Post date:** [September 10, 2015, 9:05pm UTC](https://forums.unrealengine.com/t/null-cant-start-an-online-game-for-session-with-blueprints/327212/9 "2015-09-10T21:05:59Z")

</div>

Hey ,

It looks like this may be result of Advanced Sessions Plugin that you’re using. I’m still attempting to confirm (at moment, simply replacing Advanced nodes with standard nodes will cause project to not package correctly, so I haven’t had a successful test), but that would explain why this works with our Multiplayer Shootout project and not yours because setup is nearly identical otherwise.

Can you take a look and see if you can get this working correctly without plugin and see if you can get a connection? I’ll keep trying here as well.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_33800a51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_33800a51](https://forums.unrealengine.com/u/anonymous_user_33800a51)\
**Post date:** [September 10, 2015, 9:12pm UTC](https://forums.unrealengine.com/t/null-cant-start-an-online-game-for-session-with-blueprints/327212/10 "2015-09-10T21:12:27Z")

</div>

I took another look, and one of requirements for using this plugin properly is to make sure your game instance is derived from AdvancedFriendsGameInstance. Yours derives from a custom GameInstance class that you created, SnowballGameInstance, which is NOT derived from AdvancedFriendsGameInstance.

Try recreating BP\_Snowball\_GameInstance, this time deriving it from AdvancedFriendsGameInstance instead. According to plugin’s forums page, that’s what you need to do to be able to join a session using Online Subsystem.

> **[Advanced Sessions Plugin](https://forums.unrealengine.com/showthread.php?69901-Advanced-Sessions-Plugin)**
>
> Advanced Sessions Plugin Updated 08/19/2021 Plugin now has two modules, one is AdvancedSessions and one is AdvancedSteamSessions, this will allow me to tie more Steam specific functions in without forcing the steam subsystem to be packaged out with...

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_33800a51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_33800a51](https://forums.unrealengine.com/u/anonymous_user_33800a51)\
**Post date:** [September 10, 2015, 9:14pm UTC](https://forums.unrealengine.com/t/null-cant-start-an-online-game-for-session-with-blueprints/327212/11 "2015-09-10T21:14:21Z")

</div>

Or reparent it. There might be problems with that, given how much you already have in your game instance, but it’d be first thing i’d try.

---

<div class="post-metadata">

**Author:** ![makai](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@makai](https://forums.unrealengine.com/u/makai)\
**Post date:** [September 14, 2015, 2:07pm UTC](https://forums.unrealengine.com/t/null-cant-start-an-online-game-for-session-with-blueprints/327212/12 "2015-09-14T14:07:49Z")

</div>

thank you so much, i will check out immediately!  
awesome your support!  
thumbs up!

---

<div class="post-metadata">

**Author:** ![mordentral](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mordentral](https://forums.unrealengine.com/u/mordentral)\
**Post date:** [September 15, 2015, 7:23pm UTC](https://forums.unrealengine.com/t/null-cant-start-an-online-game-for-session-with-blueprints/327212/13 "2015-09-15T19:23:00Z")

</div>

Hello, I’m author of Advanced Sessions Plugin.

plugin doesn’t require that you re-parent your game instance unless you want join through friend invite functionality. I realize looking back at my text that it is worded a little badly there and have fixed it in my post.

gameinstance shouldn’t be cause of any issues with creating a session. Also it has been tested and is fully working with steam for multiple people including myself (it was made with a focus on that platform).

I have had engine throw the “NULL: Can’t start an online game for session (Game) that hasn’t been created” warning during in editor builds (not packaged builds) but it has never affected actually hosting server for me.

I don’t have example project to look at so just throwing some things out there in hopes it clears up some confusion.
