[Dead by daylight] Build errors #375
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
OldButImportant
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
software-migration-backups/Dumper-7-17-05-2026#375
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
'FTableRowBase': base class undefined
static_assert failed: 'Wrong size on FGameplayTagTableRow'
static_assert failed: 'Member 'FGameplayTagTableRow::Tag' has a wrong offset!'
static_assert failed: 'Member 'FGameplayTagTableRow::DevComment' has a wrong offset!'
static_assert failed: 'Wrong size on FRestrictedGameplayTagTableRow'
static_assert failed: 'Member 'FRestrictedGameplayTagTableRow::bAllowNonRestrictedChildren' has a wrong offset!'
These are cyclic dependencies from UE and I need to fix my algorithm to find and fix them.
To manually fix this you can copy FTableRowBase to every of the headers that it's missing in and append a count at the end (FTableRowBase2). The rename all of the occurrences in that file to that.
Now after running the latest commit im getting this error
Look at the output windows for more details as to where that is used.
Any more info? A little more of the output history.
im so sorry for the delay
1>C:\Users\Austin\Documents\Visual Studio 2022 Preview\Projects\Dead By Daylight Internal\Dead By Daylight Internal\SDK\SDK\Engine_structs.hpp(6359,2): warning C4309: 'initializing': truncation of constant value
1>(compiling source file '/Source/dllmain.cpp')
1>C:\Users\Austin\Documents\Visual Studio 2022 Preview\Projects\Dead By Daylight Internal\Dead By Daylight Internal\SDK\SDK\Engine_structs.hpp(6359,2): warning C4369: 'SDK::ETextureEncodeSpeedOverride': enumerator value '256' cannot be represented as 'unsigned char', value is '256'
1>(compiling source file '/Source/dllmain.cpp')
1>C:\Users\Austin\Documents\Visual Studio 2022 Preview\Projects\Dead By Daylight Internal\Dead By Daylight Internal\SDK\SDK\Engine_structs.hpp(6594,2): warning C4309: 'initializing': truncation of constant value
1>(compiling source file '/Source/dllmain.cpp')
1>C:\Users\Austin\Documents\Visual Studio 2022 Preview\Projects\Dead By Daylight Internal\Dead By Daylight Internal\SDK\SDK\Engine_structs.hpp(6594,2): warning C4369: 'SDK::EStreamingSourcePriority': enumerator value '256' cannot be represented as 'unsigned char', value is '256'
1>(compiling source file '/Source/dllmain.cpp')
1>C:\Users\Austin\Documents\Visual Studio 2022 Preview\Projects\Dead By Daylight Internal\Dead By Daylight Internal\SDK\UnrealContainers.hpp(212,11): error C2079: 'UC::TPair<KeyElementType,ValueElementType>::First' uses undefined struct 'SDK::FGameplayTag'
1>C:\Users\Austin\Documents\Visual Studio 2022 Preview\Projects\Dead By Daylight Internal\Dead By Daylight Internal\SDK\UnrealContainers.hpp(212,11): error C2079: with
1>C:\Users\Austin\Documents\Visual Studio 2022 Preview\Projects\Dead By Daylight Internal\Dead By Daylight Internal\SDK\UnrealContainers.hpp(212,11): error C2079: [
1>C:\Users\Austin\Documents\Visual Studio 2022 Preview\Projects\Dead By Daylight Internal\Dead By Daylight Internal\SDK\UnrealContainers.hpp(212,11): error C2079: KeyElementType=SDK::FGameplayTag,
1>C:\Users\Austin\Documents\Visual Studio 2022 Preview\Projects\Dead By Daylight Internal\Dead By Daylight Internal\SDK\UnrealContainers.hpp(212,11): error C2079: ValueElementType=SDK::TSoftObjectPtrSDK::UMaterialInterface
1>C:\Users\Austin\Documents\Visual Studio 2022 Preview\Projects\Dead By Daylight Internal\Dead By Daylight Internal\SDK\UnrealContainers.hpp(212,11): error C2079: ]
1>(compiling source file '/Source/dllmain.cpp')
1> C:\Users\Austin\Documents\Visual Studio 2022 Preview\Projects\Dead By Daylight Internal\Dead By Daylight Internal\SDK\UnrealContainers.hpp(212,11):
1> the template instantiation context (the oldest one first) is
1> C:\Users\Austin\Documents\Visual Studio 2022 Preview\Projects\Dead By Daylight Internal\Dead By Daylight Internal\SDK\SDK\Engine_structs.hpp(16182,70):
1> see reference to class template instantiation 'UC::TMap<SDK::FGameplayTag,SDK::TSoftObjectPtrSDK::UMaterialInterface>' being compiled
1> C:\Users\Austin\Documents\Visual Studio 2022 Preview\Projects\Dead By Daylight Internal\Dead By Daylight Internal\SDK\UnrealContainers.hpp(563,21):
1> see reference to class template instantiation 'UC::TSet<UC::TPair<KeyElementType,ValueElementType>>' being compiled
1> with
1> [
1> KeyElementType=SDK::FGameplayTag,
1> ValueElementType=SDK::TSoftObjectPtrSDK::UMaterialInterface
1> ]
1> C:\Users\Austin\Documents\Visual Studio 2022 Preview\Projects\Dead By Daylight Internal\Dead By Daylight Internal\SDK\UnrealContainers.hpp(503,49):
1> see reference to class template instantiation 'UC::TPair<KeyElementType,ValueElementType>' being compiled
1> with
1> [
1> KeyElementType=SDK::FGameplayTag,
1> ValueElementType=SDK::TSoftObjectPtrSDK::UMaterialInterface
1> ]
1>C:\Users\Austin\Documents\Visual Studio 2022 Preview\Projects\Dead By Daylight Internal\Dead By Daylight Internal\SDK\SDK\DBDSharedTypes_structs.hpp(56,2): warning C4309: 'initializing': truncation of constant value
1>(compiling source file '/Source/dllmain.cpp')
1>C:\Users\Austin\Documents\Visual Studio 2022 Preview\Projects\Dead By Daylight Internal\Dead By Daylight Internal\SDK\SDK\DBDSharedTypes_structs.hpp(56,2): warning C4369: 'SDK::EStoryNodeState': enumerator value '256' cannot be represented as 'unsigned char', value is '256'
1>(compiling source file '/Source/dllmain.cpp')
1>C:\Users\Austin\Documents\Visual Studio 2022 Preview\Projects\Dead By Daylight Internal\Dead By Daylight Internal\SDK\SDK\DBDSharedTypes_structs.hpp(110,2): warning C4309: 'initializing': truncation of constant value
1>(compiling source file '/Source/dllmain.cpp')
1>C:\Users\Austin\Documents\Visual Studio 2022 Preview\Projects\Dead By Daylight Internal\Dead By Daylight Internal\SDK\SDK\DBDSharedTypes_structs.hpp(110,2): warning C4369: 'SDK::EChallengeSetMask': enumerator value '256' cannot be represented as 'unsigned char', value is '256'
1>(compiling source file '/Source/dllmain.cpp')
1>C:\Users\Austin\Documents\Visual Studio 2022 Preview\Projects\Dead By Daylight Internal\Dead By Daylight Internal\SDK\SDK\DBDSharedTypes_structs.hpp(1404,2): warning C4309: 'initializing': truncation of constant value
1>(compiling source file '/Source/dllmain.cpp')
1>C:\Users\Austin\Documents\Visual Studio 2022 Preview\Projects\Dead By Daylight Internal\Dead By Daylight Internal\SDK\SDK\DBDSharedTypes_structs.hpp(1404,2): warning C4369: 'SDK::EArchiveNodeType': enumerator value '256' cannot be represented as 'unsigned char', value is '256'
1>(compiling source file '/Source/dllmain.cpp')
1>C:\Users\Austin\Documents\Visual Studio 2022 Preview\Projects\Dead By Daylight Internal\Dead By Daylight Internal\SDK\SDK\DBDSharedTypes_structs.hpp(1428,2): warning C4309: 'initializing': truncation of constant value
1>(compiling source file '/Source/dllmain.cpp')
1>C:\Users\Austin\Documents\Visual Studio 2022 Preview\Projects\Dead By Daylight Internal\Dead By Daylight Internal\SDK\SDK\DBDSharedTypes_structs.hpp(1428,2): warning C4369: 'SDK::EQuestOperationType': enumerator value '256' cannot be represented as 'unsigned char', value is '256'
1>(compiling source file '/Source/dllmain.cpp')
1>C:\Users\Austin\Documents\Visual Studio 2022 Preview\Projects\Dead By Daylight Internal\Dead By Daylight Internal\SDK\SDK\AkAudio_structs.hpp(332,2): warning C4309: 'initializing': truncation of constant value
1>(compiling source file '/Source/dllmain.cpp')
1>C:\Users\Austin\Documents\Visual Studio 2022 Preview\Projects\Dead By Daylight Internal\Dead By Daylight Internal\SDK\SDK\AkAudio_structs.hpp(332,2): warning C4369: 'SDK::EAkMidiEventType': enumerator value '256' cannot be represented as 'unsigned char', value is '256'
If you don't need it just replace the occurrences of FGameplayTag with something else that compiles and doesn't change the size.
After using D7 to generate Dead by Daylight SDK on Steam and Epic Games, I can tell that the only problem is in the
GameplayTags_structs.hpp.In the

GameplayTags_structs.hppremove the line#include "Engine_structs.hpp".Add a copy of the
FTableRowBaseand rename it to something else likeFTableRowBase2, like this:Then change

struct FGameplayTagTableRow : public FTableRowBasetostruct FGameplayTagTableRow : public FTableRowBase2.Done.
The issue can be closed, if you ask me.