Originally posted by HughieDM
View Post

The code will still run fine but obviously VS doesn't care as much about declaration efficiency with default settings as GCC does so it passed by and is throwing a warning to you.
*Edit* Re-did the advanced sessions node to support the dedicated server boolean from the session settings and to allow for the playercontroller to be optional, will upload today. Keep in mind that without a player controller there is no UniqueNetID to send to the subsystem so it will be passing through NULL/0. Not passing a playercontroller WILL NOT WORK with client builds with Steam, as it initializes the steam api and expects it. However from what I have read dedicated servers should be fine without it being passed in.
This includes removing the line that is throwing a warning for you.
I will only upload for 4.8 on this release as my 4.7 install is gone, if anyone needs 4.7 I can upload it eventually but would have to re-install 4.7. At this point 4.8 seems like a far more stable build overall anyway.
*Edit2* Uploaded
Comment