mordentral / AdvancedSessionsPlugin

Advanced Sessions Plugin for UE4
https://www.vreue4.com
MIT License
595 stars 140 forks source link

plugin added to project failes to compile in 4.25.3 #3

Closed QUANDINI-byte closed 3 years ago

QUANDINI-byte commented 4 years ago

hi, I am trying to use the plugin and have added it to my project. I have gotten it to work before when I used it in 4.22 but this time around it fails to even compile. even after I have gone through and fixed it up so it compiles it does not actually connect to steam when running in standalone play (not pie). this is the compile issue i get with the stock plugin (no changes): image

mordentral commented 4 years ago

The UBT hides things in generated monolithic includes sometimes, I do need to add a player state include to that file.

The steam warning is of C4265 is a warning that is off by default and you are picking up it complaining about the steam source itself, there are several compiler warnings that are supposed to be turned off when including the steam api as it throws them.

As for the steam connection, that has nothing to do with the plugin itself, the subsystems are a seperate entity, the plugin just gives more access to calling functions on them. However 4.24 did add the new steam auth system and some target.cs compile time flags for steam that you should be using.

    /*
     * This is our Steam App ID.
     * # Define in both server and client targets
     */
    ProjectDefinitions.Add("UE4_PROJECT_STEAMSHIPPINGID=480");