Description

Multiple compile failures while attempting to nativize the QABP_Containers asset in QAGame.

Errors:

[2016.12.12-15.20.04:831][486]UATHelper: Packaging (Windows (64-bit)): xgConsole: QABP_Containers__pf2403237688.cpp
[2016.12.12-15.20.04:832][486]UATHelper: Packaging (Windows (64-bit)): xgConsole: D:\Builds\samuel.proctor_Blueprints\QAGame\Intermediate\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Private\QABP_Containers__pf2403237688.cpp(1096): error C2440: 'initializing': cannot convert from 'double' to 'TSet<float,DefaultKeyFuncs<InElementType,false>,FDefaultSetAllocator>'
[2016.12.12-15.20.04:832][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:         with
[2016.12.12-15.20.04:833][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:         [
[2016.12.12-15.20.04:833][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:             InElementType=float
[2016.12.12-15.20.04:833][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:         ]
[2016.12.12-15.20.04:833][486]UATHelper: Packaging (Windows (64-bit)): xgConsole: D:\Builds\samuel.proctor_Blueprints\QAGame\Intermediate\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Private\QABP_Containers__pf2403237688.cpp(1096): note: No constructor could take the source type, or constructor overload resolution was ambiguous
[2016.12.12-15.20.04:833][486]UATHelper: Packaging (Windows (64-bit)): xgConsole: D:\Builds\samuel.proctor_Blueprints\QAGame\Intermediate\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Private\QABP_Containers__pf2403237688.cpp(1098): error C2440: 'initializing': cannot convert from 'int' to 'TSet<int32,DefaultKeyFuncs<InElementType,false>,FDefaultSetAllocator>'
[2016.12.12-15.20.04:834][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:         with
[2016.12.12-15.20.04:834][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:         [
[2016.12.12-15.20.04:834][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:             InElementType=int32
[2016.12.12-15.20.04:834][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:         ]
[2016.12.12-15.20.04:835][486]UATHelper: Packaging (Windows (64-bit)): xgConsole: D:\Builds\samuel.proctor_Blueprints\QAGame\Intermediate\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Private\QABP_Containers__pf2403237688.cpp(1098): note: No constructor could take the source type, or constructor overload resolution was ambiguous
[2016.12.12-15.20.04:835][486]UATHelper: Packaging (Windows (64-bit)): xgConsole: D:\Builds\samuel.proctor_Blueprints\QAGame\Intermediate\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Private\QABP_Containers__pf2403237688.cpp(1100): error C2440: 'initializing': cannot convert from 'FString' to 'TSet<FString,DefaultKeyFuncs<InElementType,false>,FDefaultSetAllocator>'
[2016.12.12-15.20.04:836][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:         with
[2016.12.12-15.20.04:836][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:         [
[2016.12.12-15.20.04:836][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:             InElementType=FString
[2016.12.12-15.20.04:836][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:         ]
[2016.12.12-15.20.04:836][486]UATHelper: Packaging (Windows (64-bit)): xgConsole: D:\Builds\samuel.proctor_Blueprints\QAGame\Intermediate\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Private\QABP_Containers__pf2403237688.cpp(1100): note: No constructor could take the source type, or constructor overload resolution was ambiguous
[2016.12.12-15.20.04:837][486]UATHelper: Packaging (Windows (64-bit)): xgConsole: D:\Builds\samuel.proctor_Blueprints\QAGame\Intermediate\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Private\QABP_Containers__pf2403237688.cpp(1102): error C2440: 'initializing': cannot convert from 'E__QA_UDE__pf' to 'TSet<E__QA_UDE__pf,DefaultKeyFuncs<InElementType,false>,FDefaultSetAllocator>'
[2016.12.12-15.20.04:837][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:         with
[2016.12.12-15.20.04:837][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:         [
[2016.12.12-15.20.04:837][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:             InElementType=E__QA_UDE__pf
[2016.12.12-15.20.04:838][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:         ]
[2016.12.12-15.20.04:838][486]UATHelper: Packaging (Windows (64-bit)): xgConsole: D:\Builds\samuel.proctor_Blueprints\QAGame\Intermediate\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Private\QABP_Containers__pf2403237688.cpp(1102): note: No constructor could take the source type, or constructor overload resolution was ambiguous
[2016.12.12-15.20.04:838][486]UATHelper: Packaging (Windows (64-bit)): xgConsole: D:\Builds\samuel.proctor_Blueprints\QAGame\Intermediate\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Private\QABP_Containers__pf2403237688.cpp(1104): error C2440: 'initializing': cannot convert from 'double' to 'TMap<float,FString,FDefaultSetAllocator,TDefaultMapKeyFuncs<KeyType,ValueType,false>>'
[2016.12.12-15.20.04:839][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:         with
[2016.12.12-15.20.04:839][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:         [
[2016.12.12-15.20.04:839][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:             KeyType=float,
[2016.12.12-15.20.04:839][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:             ValueType=FString
[2016.12.12-15.20.04:839][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:         ]
[2016.12.12-15.20.04:839][486]UATHelper: Packaging (Windows (64-bit)): xgConsole: D:\Builds\samuel.proctor_Blueprints\QAGame\Intermediate\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Private\QABP_Containers__pf2403237688.cpp(1104): note: No constructor could take the source type, or constructor overload resolution was ambiguous
[2016.12.12-15.20.04:840][486]UATHelper: Packaging (Windows (64-bit)): xgConsole: D:\Builds\samuel.proctor_Blueprints\QAGame\Intermediate\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Private\QABP_Containers__pf2403237688.cpp(1106): error C2440: 'initializing': cannot convert from 'FString' to 'TMap<FString,FTestNativeStruct,FDefaultSetAllocator,TDefaultMapKeyFuncs<KeyType,ValueType,false>>'
[2016.12.12-15.20.04:841][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:         with
[2016.12.12-15.20.04:841][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:         [
[2016.12.12-15.20.04:841][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:             KeyType=FString,
[2016.12.12-15.20.04:841][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:             ValueType=FTestNativeStruct
[2016.12.12-15.20.04:841][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:         ]
[2016.12.12-15.20.04:841][486]UATHelper: Packaging (Windows (64-bit)): xgConsole: D:\Builds\samuel.proctor_Blueprints\QAGame\Intermediate\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Private\QABP_Containers__pf2403237688.cpp(1106): note: No constructor could take the source type, or constructor overload resolution was ambiguous
[2016.12.12-15.20.04:842][486]UATHelper: Packaging (Windows (64-bit)): xgConsole: D:\Builds\samuel.proctor_Blueprints\QAGame\Intermediate\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Private\QABP_Containers__pf2403237688.cpp(1108): error C2440: 'initializing': cannot convert from 'double' to 'TSet<float,DefaultKeyFuncs<InElementType,false>,FDefaultSetAllocator>'
[2016.12.12-15.20.04:842][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:         with
[2016.12.12-15.20.04:842][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:         [
[2016.12.12-15.20.04:843][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:             InElementType=float
[2016.12.12-15.20.04:843][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:         ]
[2016.12.12-15.20.04:843][486]UATHelper: Packaging (Windows (64-bit)): xgConsole: D:\Builds\samuel.proctor_Blueprints\QAGame\Intermediate\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Private\QABP_Containers__pf2403237688.cpp(1108): note: No constructor could take the source type, or constructor overload resolution was ambiguous
[2016.12.12-15.20.04:843][486]UATHelper: Packaging (Windows (64-bit)): xgConsole: D:\Builds\samuel.proctor_Blueprints\QAGame\Intermediate\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Private\QABP_Containers__pf2403237688.cpp(1110): error C2440: 'initializing': cannot convert from 'int' to 'TSet<int32,DefaultKeyFuncs<InElementType,false>,FDefaultSetAllocator>'
[2016.12.12-15.20.04:844][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:         with
[2016.12.12-15.20.04:844][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:         [
[2016.12.12-15.20.04:844][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:             InElementType=int32
[2016.12.12-15.20.04:845][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:         ]
[2016.12.12-15.20.04:845][486]UATHelper: Packaging (Windows (64-bit)): xgConsole: D:\Builds\samuel.proctor_Blueprints\QAGame\Intermediate\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Private\QABP_Containers__pf2403237688.cpp(1110): note: No constructor could take the source type, or constructor overload resolution was ambiguous
[2016.12.12-15.20.04:845][486]UATHelper: Packaging (Windows (64-bit)): xgConsole: D:\Builds\samuel.proctor_Blueprints\QAGame\Intermediate\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Private\QABP_Containers__pf2403237688.cpp(1112): error C2440: 'initializing': cannot convert from 'FString' to 'TSet<FString,DefaultKeyFuncs<InElementType,false>,FDefaultSetAllocator>'
[2016.12.12-15.20.04:846][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:         with
[2016.12.12-15.20.04:846][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:         [
[2016.12.12-15.20.04:846][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:             InElementType=FString
[2016.12.12-15.20.04:847][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:         ]
[2016.12.12-15.20.04:847][486]UATHelper: Packaging (Windows (64-bit)): xgConsole: D:\Builds\samuel.proctor_Blueprints\QAGame\Intermediate\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Private\QABP_Containers__pf2403237688.cpp(1112): note: No constructor could take the source type, or constructor overload resolution was ambiguous
[2016.12.12-15.20.04:847][486]UATHelper: Packaging (Windows (64-bit)): xgConsole: D:\Builds\samuel.proctor_Blueprints\QAGame\Intermediate\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Private\QABP_Containers__pf2403237688.cpp(1114): error C2440: 'initializing': cannot convert from 'ETestNativeEnum' to 'TSet<ETestNativeEnum,DefaultKeyFuncs<InElementType,false>,FDefaultSetAllocator>'
[2016.12.12-15.20.04:848][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:         with
[2016.12.12-15.20.04:848][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:         [
[2016.12.12-15.20.04:848][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:             InElementType=ETestNativeEnum
[2016.12.12-15.20.04:848][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:         ]
[2016.12.12-15.20.04:849][486]UATHelper: Packaging (Windows (64-bit)): xgConsole: D:\Builds\samuel.proctor_Blueprints\QAGame\Intermediate\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Private\QABP_Containers__pf2403237688.cpp(1114): note: No constructor could take the source type, or constructor overload resolution was ambiguous
[2016.12.12-15.20.04:849][486]UATHelper: Packaging (Windows (64-bit)): xgConsole: D:\Builds\samuel.proctor_Blueprints\QAGame\Intermediate\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Private\QABP_Containers__pf2403237688.cpp(1116): error C2440: 'initializing': cannot convert from 'double' to 'TMap<float,AActor *,FDefaultSetAllocator,TDefaultMapKeyFuncs<KeyType,ValueType,false>>'
[2016.12.12-15.20.04:850][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:         with
[2016.12.12-15.20.04:850][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:         [
[2016.12.12-15.20.04:850][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:             KeyType=float,
[2016.12.12-15.20.04:850][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:             ValueType=AActor *
[2016.12.12-15.20.04:850][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:         ]
[2016.12.12-15.20.04:850][486]UATHelper: Packaging (Windows (64-bit)): xgConsole: D:\Builds\samuel.proctor_Blueprints\QAGame\Intermediate\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Private\QABP_Containers__pf2403237688.cpp(1116): note: No constructor could take the source type, or constructor overload resolution was ambiguous
[2016.12.12-15.20.04:851][486]UATHelper: Packaging (Windows (64-bit)): xgConsole: D:\Builds\samuel.proctor_Blueprints\QAGame\Intermediate\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Private\QABP_Containers__pf2403237688.cpp(1118): error C2440: 'initializing': cannot convert from 'int' to 'TMap<int32,ETestNativeEnum,FDefaultSetAllocator,TDefaultMapKeyFuncs<KeyType,ValueType,false>>'
[2016.12.12-15.20.04:851][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:         with
[2016.12.12-15.20.04:852][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:         [
[2016.12.12-15.20.04:852][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:             KeyType=int32,
[2016.12.12-15.20.04:852][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:             ValueType=ETestNativeEnum
[2016.12.12-15.20.04:852][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:         ]
[2016.12.12-15.20.04:852][486]UATHelper: Packaging (Windows (64-bit)): xgConsole: D:\Builds\samuel.proctor_Blueprints\QAGame\Intermediate\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Private\QABP_Containers__pf2403237688.cpp(1118): note: No constructor could take the source type, or constructor overload resolution was ambiguous
[2016.12.12-15.20.04:853][486]UATHelper: Packaging (Windows (64-bit)): xgConsole: D:\Builds\samuel.proctor_Blueprints\QAGame\Intermediate\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Private\QABP_Containers__pf2403237688.cpp(1120): error C2440: 'initializing': cannot convert from 'FString' to 'TMap<FString,FTestNativeStruct,FDefaultSetAllocator,TDefaultMapKeyFuncs<KeyType,ValueType,false>>'
[2016.12.12-15.20.04:853][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:         with
[2016.12.12-15.20.04:853][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:         [
[2016.12.12-15.20.04:853][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:             KeyType=FString,
[2016.12.12-15.20.04:854][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:             ValueType=FTestNativeStruct
[2016.12.12-15.20.04:854][486]UATHelper: Packaging (Windows (64-bit)): xgConsole:         ]
[2016.12.12-15.20.04:854][486]UATHelper: Packaging (Windows (64-bit)): xgConsole: D:\Builds\samuel.proctor_Blueprints\QAGame\Intermediate\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Private\QABP_Containers__pf2403237688.cpp(1120): note: No constructor could take the source type, or constructor overload resolution was ambiguous
[2016.12.12-15.20.04:854][486]UATHelper: Packaging (Windows (64-bit)): xgConsole: d:\builds\samuel.proctor_blueprints\engine\source\runtime\core\public\Containers/EnumAsByte.h(19): warning C4996: 'TEnumAsByte_EnumClass<true>': TEnumAsByte is not intended for use with enum classes - please derive your enum class from uint8 instead. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.
[2016.12.12-15.20.04:855][486]UATHelper: Packaging (Windows (64-bit)): xgConsole: d:\builds\samuel.proctor_blueprints\engine\source\runtime\core\public\Containers/EnumAsByte.h(10): note: see declaration of 'TEnumAsByte_EnumClass<true>'
[2016.12.12-15.20.04:855][486]UATHelper: Packaging (Windows (64-bit)): xgConsole: D:\Builds\samuel.proctor_Blueprints\QAGame\Intermediate\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Private\QABP_Containers__pf2403237688.cpp(1367): note: see reference to class template instantiation 'TEnumAsByte<E__QA_UDE__pf>' being compiled
[2016.12.12-15.20.04:856][486]UATHelper: Packaging (Windows (64-bit)): xgConsole: 
[2016.12.12-15.20.04:865][487]UATHelper: Packaging (Windows (64-bit)): xgConsole: Error executing C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\cl.exe (tool returned code: 2)
[2016.12.12-15.20.05:030][506]UATHelper: Packaging (Windows (64-bit)): xgConsole: HuskPawn__pf2403237688.cpp
Steps to Reproduce
  1. Open QAGame in UE4Editor
  2. Open the project settings and navigate to the Packaging section
  3. For List of Maps to include in a packaged build select QA-Containers
  4. Set the Nativization method to Inclusive
  5. Package the project for Win64

Result: Multiple compile failures when attempting to compile the nativized assets

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-39634 in the post.

0
Login to Vote

Fixed
ComponentUE - Gameplay - Blueprint Runtime
Affects Versions4.15
Target Fix4.15
Fix Commit3233043
Main Commit3236017
CreatedDec 12, 2016
ResolvedDec 13, 2016
UpdatedSep 23, 2019
View Jira Issue