# Advanced Sessions Plugin

**URL:** <https://forums.unrealengine.com/t/advanced-sessions-plugin/30020>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [May 13, 2015, 7:26pm UTC](https://forums.unrealengine.com/t/advanced-sessions-plugin/30020 "2015-05-13T19:26:21Z")\
**Posts on this page:** 20\
**Page:** 61

<div class="post-metadata">

**Author:** ![NijoMeister](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NijoMeister](https://forums.unrealengine.com/u/NijoMeister)\
**Post date:** [April 18, 2017, 5:50pm UTC](https://forums.unrealengine.com/t/advanced-sessions-plugin/30020/1222 "2017-04-18T17:50:07Z")

</div>

I’ve deleted it like 3 times now 😕 Doesn’t work I deleted everything apart from config and content and tried to build it again but I’ve still got the same issue this is my thread if you want to look at the whole error log.  
[https://answers.unrealengine.com/questions/587003/i-cant-build-my-game-unknown-build-error.html](https://answers.unrealengine.com/questions/587003/i-cant-build-my-game-unknown-build-error.html)

---

<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:** [April 18, 2017, 5:53pm UTC](https://forums.unrealengine.com/t/advanced-sessions-plugin/30020/1223 "2017-04-18T17:53:07Z")

</div>

[QUOTE=NijoMeister;696746]  
I’ve deleted it like 3 times now 😕 Doesn’t work I deleted everything apart from config and content and tried to build it again but I’ve still got the same issue this is my thread if you want to look at the whole error log.  
[https://answers.unrealengine.com/questions/587003/i-cant-build-my-game-unknown-build-error.html](https://answers.unrealengine.com/questions/587003/i-cant-build-my-game-unknown-build-error.html)

Yeah I saw that, but I meant delete it from the plugin folder…There are intermediate folders in there as well.

You should try what I just did and make a blank project real fast with just the plugin off of a template and see if you can package it.

---

<div class="post-metadata">

**Author:** ![Brylos](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Brylos](https://forums.unrealengine.com/u/Brylos)\
**Post date:** [April 18, 2017, 5:59pm UTC](https://forums.unrealengine.com/t/advanced-sessions-plugin/30020/1224 "2017-04-18T17:59:24Z")

</div>

[QUOTE=;696733]  
After deleting the intermediate folder in the plugin folder?

```auto

D:/ThirdpersonGame/Plugins/AdvancedSessions/AdvancedSessions/Intermediate/Build/Win64/UE4/Development/AdvancedSessions/PCH.AdvancedSessions.h(32): error C2001: newline in constan

```

Was what you reported.

_Edit_ Scratch that, the binary zip version still has the precompiled headers, only the repository version doesn’t. Forgot that it didn’t warrant a zip update and I was waiting until 4.16 to make the change outside of source.

Regardless I just created a blank project, added the zip plugin to it, created a c++ blank class, and packed it out for shipping win32 with no issues…

I tried creating a blank c++ class and it said I needed to recompile so I restarted the editor and now I’m getting a popup saying "the following modules are missing or built with a different engine version: would you like to rebuild them now? I hit yes then after a bit it says could not be compiled try to rebuild from source. I’m googling these issues to find a solution. Also what do you mean by zip plugin?

---

<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:** [April 18, 2017, 6:00pm UTC](https://forums.unrealengine.com/t/advanced-sessions-plugin/30020/1225 "2017-04-18T18:00:41Z")

</div>

[QUOTE=Brylos;696752]  
I tried creating a blank c++ class and it said I needed to recompile so I restarted the editor and now I’m getting a popup saying "the following modules are missing or built with a different engine version: would you like to rebuild them now? I hit yes then after a bit it says could not be compiled try to rebuild from source. I’m googling these issues to find a solution. Also what do you mean by zip plugin?

Open the .sln file and compile the project from within visual studio, you shouldn’t have needed to restart though, when creating the class it should have allowed you to compile with the editor open.

---

<div class="post-metadata">

**Author:** ![Brylos](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Brylos](https://forums.unrealengine.com/u/Brylos)\
**Post date:** [April 18, 2017, 6:09pm UTC](https://forums.unrealengine.com/t/advanced-sessions-plugin/30020/1226 "2017-04-18T18:09:36Z")

</div>

[QUOTE=;696755]  
Open the .sln file and compile the project from within visual studio, you shouldn’t have needed to restart though, when creating the class it should have allowed you to compile with the editor open.

I’ve googled where to find that but I don’t where it is. Could you tell me where to find it?

---

<div class="post-metadata">

**Author:** ![NijoMeister](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NijoMeister](https://forums.unrealengine.com/u/NijoMeister)\
**Post date:** [April 18, 2017, 6:15pm UTC](https://forums.unrealengine.com/t/advanced-sessions-plugin/30020/1227 "2017-04-18T18:15:16Z")

</div>

It still failed after removing that folder 😕

---

<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:** [April 18, 2017, 6:16pm UTC](https://forums.unrealengine.com/t/advanced-sessions-plugin/30020/1228 "2017-04-18T18:16:09Z")

</div>

[QUOTE=Brylos;696761]  
I’ve googled where to find that but I don’t where it is. Could you tell me where to find it?

You can skip all of this if you just install the plugin in Unreal Engine/4.15/engine/Plugins, you won’t need to generate code for your project anymore (the Add New C++ class) and it won’t have to re-compile the binaries when packaging.

when installed in the project level it WILL re-compile the plugin when packaging as it is in a volatile location.

I just updated the installation paragraph to mention this, prior to or .13 this was not possible, but since it is now I should have updated the installation notice awhile ago.

When installed to that location (and NOT a version in the project location as well) you don’t have to think about anything.

---

<div class="post-metadata">

**Author:** ![Brylos](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Brylos](https://forums.unrealengine.com/u/Brylos)\
**Post date:** [April 18, 2017, 6:19pm UTC](https://forums.unrealengine.com/t/advanced-sessions-plugin/30020/1229 "2017-04-18T18:19:40Z")

</div>

[QUOTE=;696765]  
You can skip all of this if you just install the plugin in Unreal Engine/4.15/engine/Plugins, you won’t need to generate code for your project anymore (the Add New C++ class) and it won’t have to re-compile the binaries when packaging.

when installed in the project level it WILL re-compile the plugin when packaging as it is in a volatile location.

Yeah I had already done that and It didn’t work. Got the same error on multiple projects.

---

<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:** [April 18, 2017, 6:22pm UTC](https://forums.unrealengine.com/t/advanced-sessions-plugin/30020/1230 "2017-04-18T18:22:31Z")

</div>

[QUOTE=Brylos;696767]  
Yeah I had already done that and It didn’t work. Got the same error on multiple projects.

Do you have a compiler even installed? And did you remove the copy from the project folder?

---

<div class="post-metadata">

**Author:** ![OverRated\_AU](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/overrated_au/32/1008648_2.png) [@OverRated\_AU](https://forums.unrealengine.com/u/OverRated_AU)\
**Post date:** [April 20, 2017, 4:29am UTC](https://forums.unrealengine.com/t/advanced-sessions-plugin/30020/1232 "2017-04-20T04:29:28Z")

</div>

I know you state you won’t be adding in Steam Authentication but looking at this its pretty straight forward if you did add it in? [https://wiki.unrealengine.com/Using\_Steamworks\_with\_UE4#Enabling\_Steam\_Authentication](https://wiki.unrealengine.com/Using_Steamworks_with_UE4#Enabling_Steam_Authentication)

---

<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:** [April 20, 2017, 12:21pm UTC](https://forums.unrealengine.com/t/advanced-sessions-plugin/30020/1233 "2017-04-20T12:21:39Z")

</div>

[QUOTE=OverRated\_AU;697385]  
I know you state you won’t be adding in Steam Authentication but looking at this its pretty straight forward if you did add it in? [https://wiki.unrealengine.com/Using\_Steamworks\_with\_UE4#Enabling\_Steam\_Authentication](https://wiki.unrealengine.com/Using_Steamworks_with_UE4#Enabling_Steam_Authentication)

Thats not “enabling it”, you have to merge his pull request into a source copy of the engine, build it, and then use his extra variable when hosting the server then. His pull request changes a lot of things on the back end of the steam subsystem to get authentication working. Most of what he changed is not plugin accessible as well, so it would involve re-creating large sections of the Steam Subsystem or even entirely remaking it to get it working with a plugin.

Would rather get it feature added into the engine itself as that is where it should be to begin with.

_Edit_ If you follow his tutorial and merge his pull request and add that boolean to your game mode this plugin would work normally with it except it would have steam authentication as well, can skip the c++ session creation.

---

<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:** [April 20, 2017, 6:57pm UTC](https://forums.unrealengine.com/t/advanced-sessions-plugin/30020/1234 "2017-04-20T18:57:05Z")

</div>

Pushed a commit to the plugin - binaries will be up within an hour

```auto

Fixed some missing safety checks in the voice library

```

---

<div class="post-metadata">

**Author:** ![ALeX-L](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ALeX-L](https://forums.unrealengine.com/u/ALeX-L)\
**Post date:** [April 20, 2017, 7:30pm UTC](https://forums.unrealengine.com/t/advanced-sessions-plugin/30020/1235 "2017-04-20T19:30:41Z")

</div>

Hello ! Thanks for you awesome plugin. I’ve recently started digging in all that UE client-server stuff but still dont’ understand how it works. There are a lot of not obvious things, so maybe you can give me a direction to search. I’m trying to make lobby with 4 slots, that can be player or bot. The question is how to tell the server that slot is occupied by bot and count of free slots is less than count of connected players?

---

<div class="post-metadata">

**Author:** ![Brylos](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Brylos](https://forums.unrealengine.com/u/Brylos)\
**Post date:** [April 21, 2017, 5:00am UTC](https://forums.unrealengine.com/t/advanced-sessions-plugin/30020/1236 "2017-04-21T05:00:07Z")

</div>

[QUOTE=;696770]  
Do you have a compiler even installed? And did you remove the copy from the project folder?

It turns out that the issue was that I was using Visual Studio 2017 and not 2015. Once I installed 2015 and uninstalled 2017 the packaging worked. Thanks for the awesome plugin 🙂

---

<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:** [April 21, 2017, 12:22pm UTC](https://forums.unrealengine.com/t/advanced-sessions-plugin/30020/1237 "2017-04-21T12:22:39Z")

</div>

[QUOTE=Brylos;697816]  
It turns out that the issue was that I was using Visual Studio 2017 and not 2015. Once I installed 2015 and uninstalled 2017 the packaging worked. Thanks for the awesome plugin 🙂

2017 works, but you have to install the c++ “game package” on it when installing. Since none of the documentation for installing the engine is updated for 2017 I get the feeling most people are missing out on this.

---

<div class="post-metadata">

**Author:** ![vexilum](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@vexilum](https://forums.unrealengine.com/u/vexilum)\
**Post date:** [April 21, 2017, 6:59pm UTC](https://forums.unrealengine.com/t/advanced-sessions-plugin/30020/1239 "2017-04-21T18:59:51Z")

</div>

[QUOTE=;692974]  
Did the plugin compile? Did you enable the plugin in the editor?  
[https://docs.unrealengine.com/latest/INT/Programming/Plugins/](https://docs.unrealengine.com/latest/INT/Programming/Plugins/)

I didn’t get a notify on this reply before now, sorry. The problem was I had put the plugins folder inside the content folder instead of root game folder. 😃

---

<div class="post-metadata">

**Author:** ![vanlacke](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@vanlacke](https://forums.unrealengine.com/u/vanlacke)\
**Post date:** [April 24, 2017, 1:17am UTC](https://forums.unrealengine.com/t/advanced-sessions-plugin/30020/1240 "2017-04-24T01:17:51Z")

</div>

Hi . Thanks for all the support you give & this great plugin.

I’m having an issue where my dedicate server seemingly isn’t ever getting a playercontroller. That print works fine in standalone. I’ve added steam dedicated server implementation in the past, this is a first where I’m having issues with the playercontroller like this. Any ideas?

 ![_13.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/c/2/ec238f9388c88d3c0df22656d0c23e02c5abaad3.png)

Server Log attached

I’ve tried printing that same message in the player controller itself, but the server won’t ever run the code.

---

<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:** [April 24, 2017, 1:50am UTC](https://forums.unrealengine.com/t/advanced-sessions-plugin/30020/1241 "2017-04-24T01:50:27Z")

</div>

[QUOTE=vanlacke;698842]  
Hi . Thanks for all the support you give & this great plugin.

I’m having an issue where my dedicate server seemingly isn’t ever getting a playercontroller. That print works fine in standalone. I’ve added steam dedicated server implementation in the past, this is a first where I’m having issues with the playercontroller like this. Any ideas?

 ![_13.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/c/2/ec238f9388c88d3c0df22656d0c23e02c5abaad3.png)

Server Log attached

I’ve tried printing that same message in the player controller itself, but the server won’t ever run the code.

What player controller are you trying to get? The server won’t have one being dedicated.

---

<div class="post-metadata">

**Author:** ![vanlacke](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@vanlacke](https://forums.unrealengine.com/u/vanlacke)\
**Post date:** [April 24, 2017, 1:55am UTC](https://forums.unrealengine.com/t/advanced-sessions-plugin/30020/1242 "2017-04-24T01:55:51Z")

</div>

[QUOTE=;698848]  
What player controller are you trying to get? The server won’t have one being dedicated.

EDIT: So the issue was faulty port forwarding. That’s why my server wasn’t appearing in the steam list. It’s now appearing though.

But my joining code doesn’t work so I’ll have to figure that out.

---

<div class="post-metadata">

**Author:** ![OverRated\_AU](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/overrated_au/32/1008648_2.png) [@OverRated\_AU](https://forums.unrealengine.com/u/OverRated_AU)\
**Post date:** [April 24, 2017, 11:16am UTC](https://forums.unrealengine.com/t/advanced-sessions-plugin/30020/1243 "2017-04-24T11:16:46Z")

</div>

[QUOTE=;697512]  
Thats not “enabling it”, you have to merge his pull request into a source copy of the engine, build it, and then use his extra variable when hosting the server then. His pull request changes a lot of things on the back end of the steam subsystem to get authentication working. Most of what he changed is not plugin accessible as well, so it would involve re-creating large sections of the Steam Subsystem or even entirely remaking it to get it working with a plugin.

Would rather get it feature added into the engine itself as that is where it should be to begin with.

_Edit_ If you follow his tutorial and merge his pull request and add that boolean to your game mode this plugin would work normally with it except it would have steam authentication as well, can skip the c++ session creation.

Ah thanks for the info was going to ask what the dedicated server Boolean on the Create Advanced Session is meant for seeing if your creating a session from blueprint it will be a listen server or does this create a server along side the client?

[Previous page](https://forums.unrealengine.com/t/advanced-sessions-plugin/30020.md?page=60)

[Next page](https://forums.unrealengine.com/t/advanced-sessions-plugin/30020.md?page=62)
