[QUOTE=;400956]
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:
[QUOTE]
// 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::Destroying)
#define FOREACH_ENUM_EBPONLINEPRESENCESTATE(op)
op(EBPOnlinePresenceState::Online)
op(EBPOnlinePresenceState::Offline)
op(EBPOnlinePresenceState::Away)
op(EBPOnlinePresenceState::ExtendedAway)
op(EBPOnlinePresenceState::DoNotDisturb)
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