Announcement

Collapse
No announcement yet.

Advanced Sessions Plugin

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    So this wont work for 4.9.2 ?
    And if, is there a way to downgrade my engine ?

    Comment


      Epics official word on clients leaving was to "Open Level" to a menu level with them and it should exit cleanly. The "End Session" node is an experiment at this time and probably has issues.


      Consider supporting me on patreon

      My Open source tools and plugins
      Advanced Sessions Plugin
      VR Expansion Plugin

      Comment


        Originally posted by Aero View Post
        So this wont work for 4.9.2 ?
        And if, is there a way to downgrade my engine ?
        ? It should work fine with 4.9.2, are you on a blueprint only project trying to package? I might need to reupload for 4.9.2 for packaging.


        Consider supporting me on patreon

        My Open source tools and plugins
        Advanced Sessions Plugin
        VR Expansion Plugin

        Comment


          I think so, but im not trying to package, I try to set it up, so that I can use it in my project. I tried 4.8.3 and 4.9 both only showing example blueprints in my Editor. Maybe im blind, cant see my mistake.

          //edit: Got it, Thanks for help !
          Last edited by Aero; 10-09-2015, 08:52 AM.

          Comment


            Originally posted by mordentral View Post
            Epics official word on clients leaving was to "Open Level" to a menu level with them and it should exit cleanly. The "End Session" node is an experiment at this time and probably has issues.
            Same for a host shutting down?
            Acclivity Game Studios. Making a BP FPS, Tutorial Series on Blog : On Unreal Wiki : Twitch

            Comment


              Originally posted by arbopa View Post
              Same for a host shutting down?
              The destroy session is for the host.


              Consider supporting me on patreon

              My Open source tools and plugins
              Advanced Sessions Plugin
              VR Expansion Plugin

              Comment


                Well I do know from building without destroy session and waiting for that to be successful as either the host or the client through the steam sub system you cannot search/join or create a game.

                Also in the destroy session documentation from epic it does have a not under it that says "This node is also used for leaving sessions. Clients also need to call this node when they leave a game."

                Im just not sure why it takes forever for this to go though when called
                My portfolio: www.HughMcCullom.com
                My Company: www.AbyssStudios.com
                Current WIP: Tiki Galore!

                Comment


                  I read that note before but it goes against every other text from them. I've never actually bothered to look at the code for the node because I wasn't concerned with making a new one. I'll remember to take a look tomorrow


                  Consider supporting me on patreon

                  My Open source tools and plugins
                  Advanced Sessions Plugin
                  VR Expansion Plugin

                  Comment


                    Ok I looked at it and their example client interface uses "End Session" not "Destroy Session" (I remember this is why I ended up implementing it). Also destroy session has dedicated server flags and sends a notice to steam to shut down the server entirely.

                    99% sure as it stands that Destroy Session for the host and End Session for the client is the correct behavior. Why it is taking so long I am not sure, it waits for a response from the steam subsystem before finishing but it shouldn't be slow. On the server shutting down it should send a notice to each client who will then call "End Session" to leave before the server calls "Destroy Session" to end the server instance.

                    I have however re-uploaded the plugin for 4.9.2 and added an additional check on EndSession for if the session is still live or not. It may be possible that in some cases the session has already ended and the end session call gets stuck trying to complete. (this should have been in to begin with, I missed it).

                    Code:
                    	
                    // Client example
                    FDelegateHandle Result;
                    
                    	IOnlineSessionPtr SessionInt = GetSessionInt();
                    
                    	if (SessionInt.IsValid())
                    	{
                    		Result = SessionInt->AddOnEndSessionCompleteDelegate_Handle(Delegate);
                    		SessionInt->EndSession(SessionName);
                    	}
                    	else
                    	{
                    		Delegate.ExecuteIfBound(SessionName, true);
                    	}
                    
                    	return Result;
                    }
                    Last edited by mordentral; 10-13-2015, 11:27 AM.


                    Consider supporting me on patreon

                    My Open source tools and plugins
                    Advanced Sessions Plugin
                    VR Expansion Plugin

                    Comment


                      hi, im getting compile errors on clean 4.9.2 and advanced sessions plugin for 4.9.2 from 10/13/15


                      2>I:\Entwicklung\Developed Games\SnowballPVP\branches\4.9\Plugins\AdvancedSessions\Intermediate\Build\Win64\UE4Editor\Inc\AdvancedSessions\BlueprintDataDefinitions.generated.h(16): error C2007: #define-Syntax
                      2>I:\Entwicklung\Developed Games\SnowballPVP\branches\4.9\Plugins\AdvancedSessions\Intermediate\Build\Win64\UE4Editor\Inc\AdvancedSessions\BlueprintDataDefinitions.generated.h(21): error C2007: #define-Syntax
                      2>I:\Entwicklung\Developed Games\SnowballPVP\branches\4.9\Plugins\AdvancedSessions\Intermediate\Build\Win64\UE4Editor\Inc\AdvancedSessions\BlueprintDataDefinitions.generated.h(26): error C2007: #define-Syntax
                      2>I:\Entwicklung\Developed Games\SnowballPVP\branches\4.9\Plugins\AdvancedSessions\Intermediate\Build\Win64\UE4Editor\Inc\AdvancedSessions\BlueprintDataDefinitions.generated.h(31): error C2007: #define-Syntax
                      2>I:\Entwicklung\Developed Games\SnowballPVP\branches\4.9\Plugins\AdvancedSessions\Intermediate\Build\Win64\UE4Editor\Inc\AdvancedSessions\BlueprintDataDefinitions.generated.h(36): error C2007: #define-Syntax
                      2>I:\Entwicklung\Developed Games\SnowballPVP\branches\4.9\Plugins\AdvancedSessions\Intermediate\Build\Win64\UE4Editor\Inc\AdvancedSessions\BlueprintDataDefinitions.generated.h(41): error C2007: #define-Syntax
                      2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(94): error C2059: Syntaxfehler: 'Ungültiges Suffix für Zahl'
                      2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(94): error C2059: Syntaxfehler: 'Konstante'
                      2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(96): error C2334: Unerwartete(s) Token vor ':'; sichtbarer Funktionstext wird übersprungen
                      2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(157): error C2059: Syntaxfehler: 'Ungültiges Suffix für Zahl'
                      2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(157): error C2059: Syntaxfehler: 'Konstante'
                      2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(159): error C2334: Unerwartete(s) Token vor ':'; sichtbarer Funktionstext wird übersprungen
                      2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(170): error C2504: 'FBPUniqueNetId::FBPOnlineUser': Basisklasse undefiniert
                      2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(171): error C2059: Syntaxfehler: 'Ungültiges Suffix für Zahl'
                      2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(171): error C2059: Syntaxfehler: 'Konstante'
                      2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(173): error C2334: Unerwartete(s) Token vor ':'; sichtbarer Funktionstext wird übersprungen
                      2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(181): error C2059: Syntaxfehler: 'Ungültiges Suffix für Zahl'
                      2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(181): error C2059: Syntaxfehler: 'Konstante'
                      2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(183): error C2334: Unerwartete(s) Token vor ':'; sichtbarer Funktionstext wird übersprungen
                      2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(200): error C2059: Syntaxfehler: 'namespace'
                      2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(201): error C2334: Unerwartete(s) Token vor '{'; sichtbarer Funktionstext wird übersprungen
                      2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(218): error C2059: Syntaxfehler: 'Ungültiges Suffix für Zahl'
                      2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(218): error C2059: Syntaxfehler: 'Konstante'
                      2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(220): error C2238: Unerwartete(s) Token vor ';'
                      2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(229): error C2059: Syntaxfehler: 'Ungültiges Suffix für Zahl'
                      2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(229): error C2059: Syntaxfehler: 'Konstante'
                      2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(235): error C2653: 'EOnlineComparisonOpRedux': Keine Klasse oder Namespace
                      2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(235): error C2065: 'Type': nichtdeklarierter Bezeichner
                      2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(235): error C2923: "TEnumAsByte": "Type" ist kein gültiges template-Typargument für den TEnum-Parameter.
                      2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(235): error C2238: Unerwartete(s) Token vor ';'
                      2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(297): error C2653: 'EOnlineComparisonOpRedux': Keine Klasse oder Namespace
                      2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(297): error C2061: Syntaxfehler: Bezeichner 'Type'
                      2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(246): error C2059: Syntaxfehler: 'Inlinefunktionsheader'
                      2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(246): error C2334: Unerwartete(s) Token vor ':'; sichtbarer Funktionstext wird übersprungen
                      2>I:\Entwicklung\Developed Games\SnowballPVP\branches\4.9\Plugins\AdvancedSessions\Intermediate\Build\Win64\UE4Editor\Development\AdvancedSessions\PCH.OnlineSubSystemHeader.h.cpp(2): fatal error C1004: Unerwartetes Dateiende gefunden.
                      any help appreciated, thx!

                      Comment


                        Its throwing an error about #define syntax? Did you erase part of a line in blueprintdatadefinitions.h by accident?

                        I did re-upload the plugin though since I had a folder misnamed, it still compiled but it broke the folder system I had going.

                        I tried it on a fresh install and it worked as expected though, I can't reproduce the errors.


                        Consider supporting me on patreon

                        My Open source tools and plugins
                        Advanced Sessions Plugin
                        VR Expansion Plugin

                        Comment


                          Originally posted by mordentral View Post
                          Its throwing an error about #define syntax? Did you erase part of a line in blueprintdatadefinitions.h by accident?

                          I did re-upload the plugin though since I had a folder misnamed, it still compiled but it broke the folder system I had going.

                          I tried it on a fresh install and it worked as expected though, I can't reproduce the errors.
                          Hi, thanks for the quick reply, really appreciated!

                          No i didn't change anything on your plugin, just downloaded the latest version.

                          If i remove the plugin it compiles fine..

                          Any ideas?

                          I really love your plugin!

                          Best wishes and thank you very much!


                          PS:
                          Just tried again cleaned it out and downloaded again still throwing me errors out:
                          >I:\Entwicklung\Developed Games\SnowballPVP\branches\4.9\Plugins\AdvancedSessions\Intermediate\Build\Win64\UE4Editor\Inc\AdvancedSessions\BlueprintDataDefinitions.generated.h(16): error C2007: #define-Syntax
                          2>I:\Entwicklung\Developed Games\SnowballPVP\branches\4.9\Plugins\AdvancedSessions\Intermediate\Build\Win64\UE4Editor\Inc\AdvancedSessions\BlueprintDataDefinitions.generated.h(21): error C2007: #define-Syntax
                          2>I:\Entwicklung\Developed Games\SnowballPVP\branches\4.9\Plugins\AdvancedSessions\Intermediate\Build\Win64\UE4Editor\Inc\AdvancedSessions\BlueprintDataDefinitions.generated.h(26): error C2007: #define-Syntax
                          2>I:\Entwicklung\Developed Games\SnowballPVP\branches\4.9\Plugins\AdvancedSessions\Intermediate\Build\Win64\UE4Editor\Inc\AdvancedSessions\BlueprintDataDefinitions.generated.h(31): error C2007: #define-Syntax
                          2>I:\Entwicklung\Developed Games\SnowballPVP\branches\4.9\Plugins\AdvancedSessions\Intermediate\Build\Win64\UE4Editor\Inc\AdvancedSessions\BlueprintDataDefinitions.generated.h(36): error C2007: #define-Syntax
                          2>I:\Entwicklung\Developed Games\SnowballPVP\branches\4.9\Plugins\AdvancedSessions\Intermediate\Build\Win64\UE4Editor\Inc\AdvancedSessions\BlueprintDataDefinitions.generated.h(41): error C2007: #define-Syntax
                          2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(94): error C2059: Syntaxfehler: 'Ungültiges Suffix für Zahl'
                          2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(94): error C2059: Syntaxfehler: 'Konstante'
                          2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(96): error C2334: Unerwartete(s) Token vor ':'; sichtbarer Funktionstext wird übersprungen
                          2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(157): error C2059: Syntaxfehler: 'Ungültiges Suffix für Zahl'
                          2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(157): error C2059: Syntaxfehler: 'Konstante'
                          2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(159): error C2334: Unerwartete(s) Token vor ':'; sichtbarer Funktionstext wird übersprungen
                          2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(170): error C2504: 'FBPUniqueNetId::FBPOnlineUser': Basisklasse undefiniert
                          2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(171): error C2059: Syntaxfehler: 'Ungültiges Suffix für Zahl'
                          2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(171): error C2059: Syntaxfehler: 'Konstante'
                          2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(173): error C2334: Unerwartete(s) Token vor ':'; sichtbarer Funktionstext wird übersprungen
                          2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(181): error C2059: Syntaxfehler: 'Ungültiges Suffix für Zahl'
                          2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(181): error C2059: Syntaxfehler: 'Konstante'
                          2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(183): error C2334: Unerwartete(s) Token vor ':'; sichtbarer Funktionstext wird übersprungen
                          2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(200): error C2059: Syntaxfehler: 'namespace'
                          2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(201): error C2334: Unerwartete(s) Token vor '{'; sichtbarer Funktionstext wird übersprungen
                          2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(218): error C2059: Syntaxfehler: 'Ungültiges Suffix für Zahl'
                          2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(218): error C2059: Syntaxfehler: 'Konstante'
                          2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(220): error C2238: Unerwartete(s) Token vor ';'
                          2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(229): error C2059: Syntaxfehler: 'Ungültiges Suffix für Zahl'
                          2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(229): error C2059: Syntaxfehler: 'Konstante'
                          2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(235): error C2653: 'EOnlineComparisonOpRedux': Keine Klasse oder Namespace
                          2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(235): error C2065: 'Type': nichtdeklarierter Bezeichner
                          2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(235): error C2923: "TEnumAsByte": "Type" ist kein gültiges template-Typargument für den TEnum-Parameter.
                          2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(235): error C2238: Unerwartete(s) Token vor ';'
                          2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(297): error C2653: 'EOnlineComparisonOpRedux': Keine Klasse oder Namespace
                          2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(297): error C2061: Syntaxfehler: Bezeichner 'Type'
                          2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(246): error C2059: Syntaxfehler: 'Inlinefunktionsheader'
                          2>i:\entwicklung\developed games\snowballpvp\branches\4.9\plugins\advancedsessions\source\advancedsessions\private\BlueprintDataDefinitions.h(246): error C2334: Unerwartete(s) Token vor ':'; sichtbarer Funktionstext wird übersprungen
                          2>I:\Entwicklung\Developed Games\SnowballPVP\branches\4.9\Plugins\AdvancedSessions\Intermediate\Build\Win64\UE4Editor\Development\AdvancedSessions\PCH.OnlineSubSystemHeader.h.cpp(2): fatal error C1004: Unerwartetes Dateiende gefunden.
                          2> -------- End Detailed Actions Stats -----------------------------------------------------------
                          2>ERROR : UBT error : Failed to produce item: I:\Entwicklung\Developed Games\SnowballPVP\branches\4.9\Plugins\AdvancedSessions\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-AdvancedSessions.exp
                          2> Total build time: 43,59 seconds
                          2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets(38,5): error MSB3073: Der Befehl ""F:\Gamedesign\UE4\Unreal Engine\4.9\Engine\Build\BatchFiles\Build.bat" SnowballPVPEditor Win64 Development "I:\Entwicklung\Developed Games\SnowballPVP\branches\4.9\SnowballPVP.uproject" -rocket -waitmutex" wurde mit dem Code -1 beendet.
                          ========== Erstellen: 1 erfolgreich, 1 fehlerhaft, 0 aktuell, 0 übersprungen ==========
                          Last edited by makai; 10-16-2015, 04:45 AM.

                          Comment


                            There is only one #define in blueprint data definitions, it is at the very bottom and actually doesn't effect compilation as it is currently un-used. You can try commenting it out and recompiling however your errors are in the generated.h files and appear to concern the UENUM() generated code, I would try running a "Clean" on all binaries from MSVS (Build->Clean Solution) and then re-compiling the project.

                            I don't think this is an issue with my plugin, it appears to be an issue with the generated framework code for unreal engine. A quick google search ran into someone else with the issue who had corrupt generated headers.
                            Last edited by mordentral; 10-16-2015, 08:40 AM.


                            Consider supporting me on patreon

                            My Open source tools and plugins
                            Advanced Sessions Plugin
                            VR Expansion Plugin

                            Comment


                              Originally posted by mordentral View Post
                              There is only one #define in blueprint data definitions, it is at the very bottom and actually doesn't effect compilation as it is currently un-used. You can try commenting it out and recompiling however your errors are in the generated.h files and appear to concern the UENUM() generated code, I would try running a "Clean" on all binaries from MSVS (Build->Clean Solution) and then re-compiling the project.

                              I don't think this is an issue with my plugin, it appears to be an issue with the generated framework code for unreal engine. A quick google search ran into someone else with the issue who had corrupt generated headers.
                              hi thanks for your quick answer,
                              i cleaned the project so many times since this error occured..
                              when i remove the plugin everything compiles just fine, actually i even have no custom c++ code

                              of course i can use the provided binary to launch the editor but the problem with this is:
                              i can not package since it tries to recompile the code and fails with the output below:


                              // Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
                              /*===========================================================================
                              C++ class header boilerplate exported from UnrealHeaderTool.
                              This is automatically generated by the tools.
                              DO NOT modify this manually! Edit the corresponding .h files instead!
                              ===========================================================================*/

                              #include "ObjectBase.h"

                              PRAGMA_DISABLE_DEPRECATION_WARNINGS
                              #ifdef ADVANCEDSESSIONS_BlueprintDataDefinitions_generated_h
                              #error "BlueprintDataDefinitions.generated.h already included, missing '#pragma once' in BlueprintDataDefinitions.h"
                              #endif
                              #define ADVANCEDSESSIONS_BlueprintDataDefinitions_generated_h

                              #define 4_9_Plugins_AdvancedSessions_Source_AdvancedSessions_Private_BlueprintDataDefinitions_h_229_GENERATED_BODY \
                              friend ADVANCEDSESSIONS_API class UScriptStruct* Z_Construct_UScriptStruct_FSessionsSearchSetting(); \
                              ADVANCEDSESSIONS_API static class UScriptStruct* StaticStruct();


                              #define 4_9_Plugins_AdvancedSessions_Source_AdvancedSessions_Private_BlueprintDataDefinitions_h_218_GENERATED_BODY \
                              friend ADVANCEDSESSIONS_API class UScriptStruct* Z_Construct_UScriptStruct_FSessionPropertyKeyPair(); \
                              ADVANCEDSESSIONS_API static class UScriptStruct* StaticStruct();


                              #define 4_9_Plugins_AdvancedSessions_Source_AdvancedSessions_Private_BlueprintDataDefinitions_h_181_GENERATED_BODY \
                              friend ADVANCEDSESSIONS_API class UScriptStruct* Z_Construct_UScriptStruct_FBPFriendInfo(); \
                              ADVANCEDSESSIONS_API static class UScriptStruct* StaticStruct();


                              #define 4_9_Plugins_AdvancedSessions_Source_AdvancedSessions_Private_BlueprintDataDefinitions_h_171_GENERATED_BODY \
                              friend ADVANCEDSESSIONS_API class UScriptStruct* Z_Construct_UScriptStruct_FBPOnlineRecentPlayer(); \
                              ADVANCEDSESSIONS_API static class UScriptStruct* StaticStruct();


                              #define 4_9_Plugins_AdvancedSessions_Source_AdvancedSessions_Private_BlueprintDataDefinitions_h_157_GENERATED_BODY \
                              friend ADVANCEDSESSIONS_API class UScriptStruct* Z_Construct_UScriptStruct_FBPOnlineUser(); \
                              ADVANCEDSESSIONS_API static class UScriptStruct* StaticStruct();


                              #define 4_9_Plugins_AdvancedSessions_Source_AdvancedSessions_Private_BlueprintDataDefinitions_h_94_GENERATED_BODY \
                              friend ADVANCEDSESSIONS_API class UScriptStruct* Z_Construct_UScriptStruct_FBPUniqueNetId(); \
                              ADVANCEDSESSIONS_API static class UScriptStruct* StaticStruct();


                              #undef CURRENT_FILE_ID
                              #define CURRENT_FILE_ID 4_9_Plugins_AdvancedSessions_Source_AdvancedSessions_Private_BlueprintDataDefinitions_h


                              #define FOREACH_ENUM_EONLINECOMPARISONOPREDUX(op) \
                              op(EOnlineComparisonOpRedux::Equals) \
                              op(EOnlineComparisonOpRedux::NotEquals) \
                              op(EOnlineComparisonOpRedux::GreaterThan) \
                              op(EOnlineComparisonOpRedux::GreaterThanEquals) \
                              op(EOnlineComparisonOpRedux::LessThan) \
                              op(EOnlineComparisonOpRedux::LessThanEquals)
                              #define FOREACH_ENUM_EBPONLINESESSIONSTATE(op) \
                              op(EBPOnlineSessionState::NoSession) \
                              op(EBPOnlineSessionState::Creating) \
                              op(EBPOnlineSessionState::Pending) \
                              op(EBPOnlineSessionState::Starting) \
                              op(EBPOnlineSessionState::InProgress) \
                              op(EBPOnlineSessionState::Ending) \
                              op(EBPOnlineSessionState::Ended) \
                              op(EBPOnlineSessionState:estroying)
                              #define FOREACH_ENUM_EBPONLINEPRESENCESTATE(op) \
                              op(EBPOnlinePresenceState::Online) \
                              op(EBPOnlinePresenceState::Offline) \
                              op(EBPOnlinePresenceState::Away) \
                              op(EBPOnlinePresenceState::ExtendedAway) \
                              op(EBPOnlinePresenceState:oNotDisturb) \
                              op(EBPOnlinePresenceState::Chat)
                              #define FOREACH_ENUM_EBLUEPRINTRESULTSWITCH(op) \
                              op(EBlueprintResultSwitch::OnSuccess) \
                              op(EBlueprintResultSwitch::OnFailure)
                              #define FOREACH_ENUM_ESESSIONSETTINGSEARCHRESULT(op) \
                              op(ESessionSettingSearchResult::Found) \
                              op(ESessionSettingSearchResult::NotFound) \
                              op(ESessionSettingSearchResult::WrongType)
                              PRAGMA_ENABLE_DEPRECATION_WARNINGS
                              Last edited by makai; 10-18-2015, 11:02 PM.

                              Comment


                                I don't know what to say, I tested it in a blueprint only project without recompiling as well and it worked just fine in 4.9.2 and your error messages don't tell me anything. I don't think its anything that I can fix through modifying the plugin, it has something specifically to do with your engine.


                                Consider supporting me on patreon

                                My Open source tools and plugins
                                Advanced Sessions Plugin
                                VR Expansion Plugin

                                Comment

                                Working...
                                X