User avatar
hcpizzi
Site Admin
Topic Author
Posts: 211
Joined: 09 Feb 2012, 12:40

[UE4] Added support for UE4.20

26 Jul 2018, 07:38

We've updated the plugin and the samples to support UE4.20.

You can find the plugin here: https://github.com/Noesis/UE4Plugin

And the samples here https://github.com/Noesis/Tutorials and here https://github.com/Noesis/UE4-ShooterGame.

Please let us know if you run into any problems.
 
rylat
Posts: 2
Joined: 27 Jul 2018, 05:05

Re: [UE4] Added support for UE4.20

28 Jul 2018, 06:34

Hello,

I have installed the plugin and set up a simple UI and it is fully working when running in the editor. However, there is an error during the packaging:
UATHelper: Packaging (Windows (64-bit)):   Building 7 actions with 8 processes...
UATHelper: Packaging (Windows (64-bit)):     Module.NativizedAssets.gen.3_of_3.cpp
UATHelper: Packaging (Windows (64-bit)):     Module.NativizedAssets.gen.2_of_3.cpp
UATHelper: Packaging (Windows (64-bit)):     Module.NativizedAssets.gen.1_of_3.cpp
UATHelper: Packaging (Windows (64-bit)):     Module.NativizedAssets.3_of_3.cpp
UATHelper: Packaging (Windows (64-bit)):     C:\Users\alex\Documents\Unreal Projects\TheWildHunt\Source\../Plugins/NoesisGUI/Source/NoesisRuntime/Classes/NoesisInstance.h(15): fatal error C1083: Cannot open include file: 'NoesisSDK.h': No such file or directory
UATHelper: Packaging (Windows (64-bit)):     Module.NativizedAssets.1_of_3.cpp
UATHelper: Packaging (Windows (64-bit)):     Module.NativizedAssets.2_of_3.cpp
UATHelper: Packaging (Windows (64-bit)):   ERROR: UBT ERROR: Failed to produce item: C:\Users\alex\Documents\Unreal Projects\TheWildHunt\Binaries\Win64\TheWildHunt.pdb
UATHelper: Packaging (Windows (64-bit)):          (see C:\Users\alex\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.20\UBT-TheWildHunt-Win64-Development_2.txt for full exception trace)
Could you see what is going on there?
 
User avatar
hcpizzi
Site Admin
Topic Author
Posts: 211
Joined: 09 Feb 2012, 12:40

Re: [UE4] Added support for UE4.20

30 Jul 2018, 12:37

Hi rylat,

I have just tested again and could package a game successfully. I found that problem while upgrading the plugin from 4.19 to 4.20. It seems like they were automatically adding the root folder of each module to the module's include paths, but they are no longer. To fix it I had to add this line towards the top in Source/Noesis/Noesis.Build.cs:
PublicIncludePaths.Add(ModuleDirectory);
If that line is missing it should prevent you from building the editor too, so I'm not sure what's going on here. Can you make sure you have that line?
 
rylat
Posts: 2
Joined: 27 Jul 2018, 05:05

Re: [UE4] Added support for UE4.20

31 Jul 2018, 00:38

Yeah, the line was there.

Also, when installing the plugin as an engine plugin the InstallPlugin script fails with
 ERROR: Found 'NoesisGUI' plugin in two locations (C:\Users\alex\AppData\Local\Temp\tmpg7gbczo2\HostProject\Plugins\NoesisGUI\NoesisGUI.uplugin and C:\Program Files\Epic Games\UE_4.20\Engine\Plugins\NoesisGUI\NoesisGUI.uplugin). Plugin names must be unique.
. When installed as a project only editor builds. UE4Game fails with
ERROR: One or more of the modules specified using the '-module' argument could not be found.
       (see ../Programs/UnrealBuildTool/Log.txt for full exception trace)
which does not occur when Noesis is not installed.

Edit: OK, got it fixed, though it required manual installation. I moved the plugin out of UE4 launcher installation, made a rocket build of the plugin (whitelisted platform for both modules and then ran
"C:\Program Files\Epic Games\UE_4.20\Engine\Build\BatchFiles\RunUAT.bat" BuildPlugin -Plugin="C:\Users\alex\Documents\NoesisGUI\NoesisGUI.uplugin" -TargetPlatforms=Win64 -Package="C:\Program Files\Epic Games\UE_4.20\noesis" -Rocket
) and installed the precompiled output as an Engine plugin. Seems to be working fine and UI appears in the packaged game. Sorry for this.
 
jade
Posts: 3
Joined: 31 Jul 2018, 08:08

Re: [UE4] Added support for UE4.20

01 Aug 2018, 05:20

Hi, I have same situation here. I am new to NoesisGUI, just first try on it.
Environment:
UE4.20.1 (Epic Games official one)
Visual Studio Community 2017 (15.7.5)

I use Noesis-Tutorial Localization sample project for testing ( https://github.com/Noesis/Tutorials/tre ... zation/UE4 )
Then setup Noesis Plugin as Project Plugin
And it shows errors in console as following (I can't add attachment files in forum successful no matter in Firefox/Chrome, so I just paste them)
> InstallPlugin.bat Win64                                                                                                                                                                                                   
Found the following engine installations:                                                                                                                                                                                   
4.19 = C:\Program Files\Epic Games\UE_4.19                                                                                                                                                                                  
4.20 = C:\Program Files\Epic Games\UE_4.20                                                                                                                                                               
Plugin is not installed in any of the installed engines. Looking for projects...                                                                                                                                            
Found project for plugin at D:\work\unreal-thirdparty\Noesis\noesis-tutorial-test\Samples\Localization\UE4\Localization.uproject                                                                                            
Found associated engine at C:\Program Files\Epic Games\UE_4.20                                                                                                                                                              
Copying D:\work\unreal-thirdparty\Noesis\noesis-tutorial-test\Samples\Localization\UE4\Plugins\NoesisGUI\Source\Noesis\NoesisSDK\Bin\windows_x86_64\Noesis.dll to C:\Program Files\Epic Games\UE_4.20\Engine\Binaries\Win64 
Building UE4Editor Development Win64                                                                                                                                                                                        
Performing full C++ include scan (building a new target)                                                                                                                                                                    
Creating makefile for UE4Editor (.uproject file is newer)                                                                                                                                                                   
Using Visual Studio 2017 14.14.26428 toolchain (C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.14.26428) and Windows 10.0.16299.0 SDK (C:\Program Files (x86)\Windows Kits\10).             
Target is up to date                                                                                                                                                                                                        
Total build time: 4.86 seconds (NoActionsToExecute executor: 0.00 seconds)                                                                                                                                                  
Building UE4Game Development Win64                                                                                                                                                                                          
Performing full C++ include scan (building a new target)                                                                                                                                                                    
Creating makefile for UE4Game (no existing makefile)                                                                                                                                                                        
Using Visual Studio 2017 14.14.26428 toolchain (C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.14.26428) and Windows 10.0.16299.0 SDK (C:\Program Files (x86)\Windows Kits\10).             
ERROR: One or more of the modules specified using the '-module' argument could not be found.                                                                                                                                
       (see ../Programs/UnrealBuildTool/Log.txt for full exception trace)                                                                                                                                                   
Building UE4Game Shipping Win64                                                                                                                                                                                             
Performing full C++ include scan (building a new target)                                                                                                                                                                    
Creating makefile for UE4Game (no existing makefile)                                                                                                                                                                        
Using Visual Studio 2017 14.14.26428 toolchain (C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.14.26428) and Windows 10.0.16299.0 SDK (C:\Program Files (x86)\Windows Kits\10).             
ERROR: One or more of the modules specified using the '-module' argument could not be found.                                                                                                                                
       (see ../Programs/UnrealBuildTool/Log.txt for full exception trace)                                                                                                                                                   
Building UE4Game Development Win64                                                                                                                                                                                          
Performing full C++ include scan (building a new target)                                                                                                                                                                    
Creating makefile for UE4Game (no existing makefile)                                                                                                                                                                        
Using Visual Studio 2017 14.14.26428 toolchain (C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.14.26428) and Windows 10.0.16299.0 SDK (C:\Program Files (x86)\Windows Kits\10).             
ERROR: One or more of the modules specified using the '-module' argument could not be found.                                                                                                                                
       (see ../Programs/UnrealBuildTool/Log.txt for full exception trace)                                                                                                                                                   
Building UE4Game Shipping Win64                                                                                                                                                                                             
Performing full C++ include scan (building a new target)                                                                                                                                                                    
Creating makefile for UE4Game (no existing makefile)                                                                                                                                                                        
Using Visual Studio 2017 14.14.26428 toolchain (C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.14.26428) and Windows 10.0.16299.0 SDK (C:\Program Files (x86)\Windows Kits\10).             
ERROR: One or more of the modules specified using the '-module' argument could not be found.                                                                                                                                
       (see ../Programs/UnrealBuildTool/Log.txt for full exception trace)

UnrealBuildTool/Log.txt have similar messages in the end.
(......)
UEBuildTarget.AddPlugin: Enabling plugin 'ProceduralMeshComponent' (referenced via default plugins -> OculusVR.uplugin)
UEBuildTarget.AddPlugin: Enabling plugin 'PhysXVehicles' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'RuntimePhysXCooking' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'SteamVR' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'WindowsMoviePlayer' (referenced via default plugins)
<>c.<PrintExceptionInfo>b__4_1: ==============================================================================
<>c.<PrintExceptionInfo>b__4_0: ERROR: One or more of the modules specified using the '-module' argument could not be found.
<>c.<PrintExceptionInfo>b__4_0:        (see ../Programs/UnrealBuildTool/Log.txt for full exception trace)
<>c.<PrintExceptionInfo>b__4_1: 
<>c.<PrintExceptionInfo>b__4_1: BuildException: One or more of the modules specified using the '-module' argument could not be found.
<>c.<PrintExceptionInfo>b__4_1:    at UnrealBuildTool.UEBuildTarget.Build(BuildConfiguration BuildConfiguration, CPPHeaders Headers, List`1 OutputItems, List`1 UObjectModules, ISourceFileWorkingSet WorkingSet, ActionGraph ActionGraph, EHotReload HotReload, Boolean bIsAssemblingBuild) in C:\Program Files\Epic Games\UE_4.20\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildTarget.cs:line 2035
<>c.<PrintExceptionInfo>b__4_1:    at UnrealBuildTool.UnrealBuildTool.RunUBT(BuildConfiguration BuildConfiguration, String[] Arguments, FileReference ProjectFile, Boolean bCatchExceptions) in C:\Program Files\Epic Games\UE_4.20\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.cs:line 1480
<>c.<PrintExceptionInfo>b__4_1: ==============================================================================

Then I directly opened Localization project, compiled, it seems work fine.

But it gets problems again when I package project as Win64 version.

The last part of Log as following
(...)
UEBuildTarget.AddPlugin: Enabling plugin 'PhysXVehicles' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'RuntimePhysXCooking' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'SteamVR' (referenced via default plugins)
UEBuildTarget.AddPlugin: Enabling plugin 'WindowsMoviePlayer' (referenced via default plugins)
ActionGraph.IsActionOutdated: Localization.exe: Produced item "Localization.exe" doesn't exist.
UEBuildTarget.TryRecycleVersionManifests: Target is not using a version file.
ParallelExecutor.ExecuteActions: Building 1 action with 8 processes...
ParallelExecutor.ExecuteActions:   Localization.exe
ParallelExecutor.ExecuteActions:   Module.Localization.cpp.obj : error LNK2005: "void __cdecl EmptyLinkFunctionForStaticInitializationLocalization(void)" (?EmptyLinkFunctionForStaticInitializationLocalization@@YAXXZ) already defined in LocalizationGame.cpp.obj
ParallelExecutor.ExecuteActions:      Creating library D:\work\unreal-thirdparty\Noesis\noesis-tutorial-test\Samples\Localization\UE4\Binaries\Win64\Localization.lib and object D:\work\unreal-thirdparty\Noesis\noesis-tutorial-test\Samples\Localization\UE4\Binaries\Win64\Localization.exp
ParallelExecutor.ExecuteActions:   D:\work\unreal-thirdparty\Noesis\noesis-tutorial-test\Samples\Localization\UE4\Binaries\Win64\Localization.exe : fatal error LNK1169: one or more multiply defined symbols found
<>c.<PrintExceptionInfo>b__4_1: ==============================================================================
<>c.<PrintExceptionInfo>b__4_0: ERROR: UBT ERROR: Failed to produce item: D:\work\unreal-thirdparty\Noesis\noesis-tutorial-test\Samples\Localization\UE4\Binaries\Win64\Localization.exe
<>c.<PrintExceptionInfo>b__4_0:        (see C:\Users\USERNAME\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.20\UBT-Localization-Win64-Development_2.txt for full exception trace)
<>c.<PrintExceptionInfo>b__4_1: 
<>c.<PrintExceptionInfo>b__4_1: BuildException: UBT ERROR: Failed to produce item: D:\work\unreal-thirdparty\Noesis\noesis-tutorial-test\Samples\Localization\UE4\Binaries\Win64\Localization.exe
<>c.<PrintExceptionInfo>b__4_1:    at UnrealBuildTool.ActionGraph.ExecuteActions(BuildConfiguration BuildConfiguration, List`1 ActionsToExecute, Boolean bIsRemoteCompile, String& ExecutorName, String TargetInfoForTelemetry, EHotReload HotReload) in C:\Program Files\Epic Games\UE_4.20\Engine\Source\Programs\UnrealBuildTool\System\ActionGraph.cs:line 570
<>c.<PrintExceptionInfo>b__4_1:    at UnrealBuildTool.UnrealBuildTool.RunUBT(BuildConfiguration BuildConfiguration, String[] Arguments, FileReference ProjectFile, Boolean bCatchExceptions) in C:\Program Files\Epic Games\UE_4.20\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.cs:line 1673
<>c.<PrintExceptionInfo>b__4_1: ==============================================================================
UnrealBuildTool.RunUBT: Total build time: 8.92 seconds (Parallel executor: 0.00 seconds)

I don't know how to deal with them.

Hope it can be fixed soon! Thank you!
 
User avatar
hcpizzi
Site Admin
Topic Author
Posts: 211
Joined: 09 Feb 2012, 12:40

Re: [UE4] Added support for UE4.20

01 Aug 2018, 11:48

Hi,

I've updated the installation script. It seems that Engine installations on Launcher versions of the engine can no longer be supported. The installer already had to use a different code path for those, and it seems it now produces errors.

On the positive side, it also seems like they've fixed some of the previously existing problems, so now it's just enough to build the Editor binaries and produce the Intermediate files, and they will take care of rebuilding everything that's out of date if necessary, including the binaries for non-editor builds.

I've updated the script and it's up on GitHub. Could you give it a try and let me know if it fixes those problems?

Thank you.
 
jade
Posts: 3
Joined: 31 Jul 2018, 08:08

Re: [UE4] Added support for UE4.20

02 Aug 2018, 04:06

Hi,
I updated the script, it works fine (no error/warning) when executing script.
(I Installed as a Project Plugin)

But I found there are warnings when I open the sample project (Localization), I don't know it has relations or not, or only I meet these issues.
LogLinker: Warning: Asset 'D:/work/unreal-thirdparty/Noesis/noesis-tutorial-test-2/Samples/Localization/UE4/Content/TestLevel.umap' has been saved with empty engine version. The asset will be loaded but may be incompatible.
LogLinker: Warning: Asset 'D:/work/unreal-thirdparty/Noesis/noesis-tutorial-test-2/Samples/Localization/UE4/Content/Language.uasset' has been saved with empty engine version. The asset will be loaded but may be incompatible.
LogLinker: Warning: Asset 'D:/work/unreal-thirdparty/Noesis/noesis-tutorial-test-2/Samples/Localization/UE4/Content/ViewModel.uasset' has been saved with empty engine version. The asset will be loaded but may be incompatible.
LogLinker: Warning: Asset 'D:/work/unreal-thirdparty/Noesis/noesis-tutorial-test-2/Samples/Localization/UE4/Content/MainWindowView.uasset' has been saved with empty engine version. The asset will be loaded but may be incompatible.
LogLinker: Warning: Asset 'D:/work/unreal-thirdparty/Noesis/noesis-tutorial-test-2/Samples/Localization/UE4/Content/MainWindow.uasset' has been saved with empty engine version. The asset will be loaded but may be incompatible.
LogLinker: Warning: Asset 'D:/work/unreal-thirdparty/Noesis/noesis-tutorial-test-2/Samples/Localization/UE4/Content/Rounded_Mgen+_1c_Font.uasset' has been saved with empty engine version. The asset will be loaded but may be incompatible.
LogLinker: Warning: Asset 'D:/work/unreal-thirdparty/Noesis/noesis-tutorial-test-2/Samples/Localization/UE4/Content/rounded-mgenplus-1c-regular.uasset' has been saved with empty engine version. The asset will be loaded but may be incompatible.
LogLinker: Warning: Asset 'D:/work/unreal-thirdparty/Noesis/noesis-tutorial-test-2/Samples/Localization/UE4/Content/ControlResources.uasset' has been saved with empty engine version. The asset will be loaded but may be incompatible.
LogLinker: Warning: Asset 'D:/work/unreal-thirdparty/Noesis/noesis-tutorial-test-2/Samples/Localization/UE4/Content/LogoResources.uasset' has been saved with empty engine version. The asset will be loaded but may be incompatible.
LogLinker: Warning: Asset 'D:/work/unreal-thirdparty/Noesis/noesis-tutorial-test-2/Samples/Localization/UE4/Content/Language-en.uasset' has been saved with empty engine version. The asset will be loaded but may be incompatible.
LogLinker: Warning: Asset 'D:/work/unreal-thirdparty/Noesis/noesis-tutorial-test-2/Samples/Localization/UE4/Content/Flag-en.uasset' has been saved with empty engine version. The asset will be loaded but may be incompatible.
LogLinker: Warning: Asset 'D:/work/unreal-thirdparty/Noesis/noesis-tutorial-test-2/Samples/Localization/UE4/Content/Language-fr.uasset' has been saved with empty engine version. The asset will be loaded but may be incompatible.
LogLinker: Warning: Asset 'D:/work/unreal-thirdparty/Noesis/noesis-tutorial-test-2/Samples/Localization/UE4/Content/Flag-fr.uasset' has been saved with empty engine version. The asset will be loaded but may be incompatible.
LogLinker: Warning: Asset 'D:/work/unreal-thirdparty/Noesis/noesis-tutorial-test-2/Samples/Localization/UE4/Content/Language-jp.uasset' has been saved with empty engine version. The asset will be loaded but may be incompatible.
LogLinker: Warning: Asset 'D:/work/unreal-thirdparty/Noesis/noesis-tutorial-test-2/Samples/Localization/UE4/Content/Flag-jp.uasset' has been saved with empty engine version. The asset will be loaded but may be incompatible.
And it has errors when I play it in editor
LogNoesis: 'Game/ControlResources.ControlResources' loaded
LogNoesis: '/Game/MainWindow.MainWindow' loaded
LogNoesis: Warning: Type 'Localization.MainWindowView' does not contain a property named 'SelectedLanguage'
LogNoesis: Error: Binding failed: Path=SelectedLanguage.Resources[Flag], Source=Localization.MainWindowView(''), Target=Rectangle('Flag'), TargetProperty=Shape.Fill
LogNoesis: Warning: Type 'Localization.MainWindowView' does not contain a property named 'SelectedLanguage'
LogNoesis: Error: Binding failed: Path=SelectedLanguage, Source=Localization.MainWindowView(''), Target=ComboBox('LanguageSelector'), TargetProperty=Selector.SelectedItem
LogNoesis: Warning: Type 'Localization.MainWindowView' does not contain a property named 'Languages'
LogNoesis: Error: Binding failed: Path=Languages, Source=Localization.MainWindowView(''), Target=ComboBox('LanguageSelector'), TargetProperty=ItemsControl.ItemsSource
LogNoesis: Warning: Type 'Localization.MainWindowView' does not contain a property named 'SelectedLanguage'
LogNoesis: Error: Binding failed: Path=SelectedLanguage.Resources[SoundLabel], Source=Localization.MainWindowView(''), Target=Label(''), TargetProperty=ContentControl.Content
LogNoesis: Warning: Type 'Localization.MainWindowView' does not contain a property named 'SoundLevel'
LogNoesis: Error: Binding failed: Path=SoundLevel, Source=Localization.MainWindowView(''), Target=Slider(''), TargetProperty=RangeBase.Value
LogNoesis: Warning: Type 'Localization.MainWindowView' does not contain a property named 'SoundLevel'
LogNoesis: Error: Binding failed: Path=SoundLevel, Source=Localization.MainWindowView(''), Target=SolidColorBrush(''), TargetProperty=SolidColorBrush.Color
LogNoesis: Warning: Type 'Localization.MainWindowView' does not contain a property named 'SelectedLanguage'
LogNoesis: Error: Binding failed: Path=SelectedLanguage.Resources[MusicLabel], Source=Localization.MainWindowView(''), Target=Label(''), TargetProperty=ContentControl.Content
LogNoesis: Warning: Type 'Localization.MainWindowView' does not contain a property named 'MusicLevel'
LogNoesis: Error: Binding failed: Path=MusicLevel, Source=Localization.MainWindowView(''), Target=Slider(''), TargetProperty=RangeBase.Value
LogNoesis: Warning: Type 'Localization.MainWindowView' does not contain a property named 'MusicLevel'
LogNoesis: Error: Binding failed: Path=MusicLevel, Source=Localization.MainWindowView(''), Target=SolidColorBrush(''), TargetProperty=SolidColorBrush.Color
LogNoesis: Warning: Type 'Localization.MainWindowView' does not contain a property named 'SelectedLanguage'
LogNoesis: Error: Binding failed: Path=SelectedLanguage.Resources[TitleLabel], Source=Localization.MainWindowView(''), Target=Label(''), TargetProperty=ContentControl.Content
LogNoesis: Warning: Type 'Localization.MainWindowView' does not contain a property named 'SelectedLanguage'
LogNoesis: Error: Binding failed: Path=SelectedLanguage.Resources[SubTitleLabel], Source=Localization.MainWindowView(''), Target=Label(''), TargetProperty=ContentControl.Content
LogNoesis: Warning: Type 'Localization.MainWindowView' does not contain a property named 'SelectedLanguage'
LogNoesis: Error: Binding failed: Path=SelectedLanguage.Resources[DescLabel], Source=Localization.MainWindowView(''), Target=Label(''), TargetProperty=ContentControl.Content

And still build failed.
UATHelper: Packaging (Windows (64-bit)): ********** BUILD COMMAND STARTED **********
UATHelper: Packaging (Windows (64-bit)): Running: C:\Program Files\Epic Games\UE_4.20\Engine\Binaries\DotNET\UnrealBuildTool.exe Localization Win64 Development -Project=D:\work\unreal-thirdparty\Noesis\noesis-tutorial-test-2\Samples\Localization\UE4\Localization.uproject  D:\work\unreal-thirdparty\Noesis\noesis-tutorial-test-2\Samples\Localization\UE4\Locali
zation.uproject -NoUBTMakefiles  -remoteini="D:\work\unreal-thirdparty\Noesis\noesis-tutorial-test-2\Samples\Localization\UE4" -skipdeploy -noxge -generatemanifest -NoHotReload -log="C:\Users\USERNAME\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.20\UBT-Localization-Win64-Development.txt"
UATHelper: Packaging (Windows (64-bit)):   Using Visual Studio 2017 14.14.26428 toolchain (C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.14.26428) and Windows 10.0.16299.0 SDK (C:\Program Files (x86)\Windows Kits\10).
UATHelper: Packaging (Windows (64-bit)):   Parsing headers for Localization
UATHelper: Packaging (Windows (64-bit)):     Running UnrealHeaderTool "D:\work\unreal-thirdparty\Noesis\noesis-tutorial-test-2\Samples\Localization\UE4\Localization.uproject" "D:\work\unreal-thirdparty\Noesis\noesis-tutorial-test-2\Samples\Localization\UE4\Intermediate\Build\Win64\Localization\Development\Localization.uhtmanifest" -LogCmds="loginit warning, 
logexit warning, logdatabase error" -Unattended -WarningsAsErrors -installed
UATHelper: Packaging (Windows (64-bit)):   Reflection code generated for Localization in 7.5968862 seconds
UATHelper: Packaging (Windows (64-bit)): Took 12.6529851s to run UnrealBuildTool.exe, ExitCode=0
UATHelper: Packaging (Windows (64-bit)): Running: C:\Program Files\Epic Games\UE_4.20\Engine\Binaries\DotNET\UnrealBuildTool.exe Localization Win64 Development -Project=D:\work\unreal-thirdparty\Noesis\noesis-tutorial-test-2\Samples\Localization\UE4\Localization.uproject  D:\work\unreal-thirdparty\Noesis\noesis-tutorial-test-2\Samples\Localization\UE4\Locali
zation.uproject -NoUBTMakefiles  -remoteini="D:\work\unreal-thirdparty\Noesis\noesis-tutorial-test-2\Samples\Localization\UE4" -skipdeploy -noxge -NoHotReload -ignorejunk -log="C:\Users\USERNAME\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.20\UBT-Localization-Win64-Development_2.txt"
UATHelper: Packaging (Windows (64-bit)):   Using Visual Studio 2017 14.14.26428 toolchain (C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.14.26428) and Windows 10.0.16299.0 SDK (C:\Program Files (x86)\Windows Kits\10).
UATHelper: Packaging (Windows (64-bit)):   Building 6 actions with 8 processes...
UATHelper: Packaging (Windows (64-bit)):     PCH.NoesisRuntime.cpp
UATHelper: Packaging (Windows (64-bit)):     Module.NoesisRuntime.gen.cpp
UATHelper: Packaging (Windows (64-bit)):     Module.NoesisRuntime.cpp
UATHelper: Packaging (Windows (64-bit)):     PCH.LocalizationSample.cpp
UATHelper: Packaging (Windows (64-bit)):     LocalizationGame.cpp
UATHelper: Packaging (Windows (64-bit)):     Localization.exe
UATHelper: Packaging (Windows (64-bit)):     Module.Localization.cpp.obj : error LNK2005: "void __cdecl EmptyLinkFunctionForStaticInitializationLocalization(void)" (?EmptyLinkFunctionForStaticInitializationLocalization@@YAXXZ) already defined in LocalizationGame.cpp.obj
UATHelper: Packaging (Windows (64-bit)):        Creating library D:\work\unreal-thirdparty\Noesis\noesis-tutorial-test-2\Samples\Localization\UE4\Binaries\Win64\Localization.lib and object D:\work\unreal-thirdparty\Noesis\noesis-tutorial-test-2\Samples\Localization\UE4\Binaries\Win64\Localization.exp
UATHelper: Packaging (Windows (64-bit)):     D:\work\unreal-thirdparty\Noesis\noesis-tutorial-test-2\Samples\Localization\UE4\Binaries\Win64\Localization.exe : fatal error LNK1169: one or more multiply defined symbols found
UATHelper: Packaging (Windows (64-bit)):   ERROR: UBT ERROR: Failed to produce item: D:\work\unreal-thirdparty\Noesis\noesis-tutorial-test-2\Samples\Localization\UE4\Binaries\Win64\Localization.exe
UATHelper: Packaging (Windows (64-bit)):          (see C:\Users\USERNAME\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.20\UBT-Localization-Win64-Development_2.txt for full exception trace)
PackagingResults: Error: UBT ERROR: Failed to produce item: D:\work\unreal-thirdparty\Noesis\noesis-tutorial-test-2\Samples\Localization\UE4\Binaries\Win64\Localization.exe
UATHelper: Packaging (Windows (64-bit)):   Total build time: 56.41 seconds (Parallel executor: 0.00 seconds)
UATHelper: Packaging (Windows (64-bit)): Took 56.6149851s to run UnrealBuildTool.exe, ExitCode=5
UATHelper: Packaging (Windows (64-bit)): ERROR: UnrealBuildTool failed. See log for more details. (C:\Users\USERNAME\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.20\UBT-Localization-Win64-Development_2.txt)
UATHelper: Packaging (Windows (64-bit)):        (see C:\Users\USERNAME\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.20\Log.txt for full exception trace)
PackagingResults: Error: UnrealBuildTool failed. See log for more details. (C:\Users\USERNAME\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.20\UBT-Localization-Win64-Development_2.txt)
UATHelper: Packaging (Windows (64-bit)): AutomationTool exiting with ExitCode=5 (5)
UATHelper: Packaging (Windows (64-bit)): BUILD FAILED
PackagingResults: Error: Unknown Error
 
User avatar
hcpizzi
Site Admin
Topic Author
Posts: 211
Joined: 09 Feb 2012, 12:40

Re: [UE4] Added support for UE4.20

03 Aug 2018, 01:23

Hi,

The warnings about the assets saved with empty engine version are because they were saved with a GitHub built version of the engine. I've resaved them with 4.20 and committed them to GitHub.

The Binding warnings are normal. They happen as the XAML is instantiated, but before its DataContext is set. Binding logging is disabled by default, but it was on in that sample. I've disabled it, and that's also on GitHub.

Finally, something must have changed in this latest release related to the autogenerated code. I've renamed the class that implements the module for that game, since it was conflicting with Unreal's own Localization module. That got rid of that linker error and it's on GitHub too.

Who is online

Users browsing this forum: No registered users and 1 guest